Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328545 - "add include" feature places #include directive before #pragma once
Summary: "add include" feature places #include directive before #pragma once
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-refactoring (show other bugs)
Version: 7.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-24 05:48 EDT by Mathieu Roger CLA
Modified: 2020-09-04 15:23 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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