Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328545

Summary: "add include" feature places #include directive before #pragma once
Product: [Tools] CDT Reporter: Mathieu Roger <rogma.boami>
Component: cdt-refactoringAssignee: Project Inbox <cdt-refactoring-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: normal    
Priority: P3 CC: cdtdoug, yevshif
Version: 7.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Mathieu Roger CLA 2010-10-24 05:48:23 EDT
Build Identifier: 20100617-1415

Similar to #301780. But this time the header is guarded by #pragma once.

#pragma once

std::string strs;

if move cursor to std::string and select source/add include eclipse insert
#include directive before #pragma once, but it must inserts it after.

CDT build id 201006141710



Reproducible: Always