mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Bug 403458 - Organize includes inserts commented extra statements for
includes that are actually used
This commit is contained in:
parent
2596db696f
commit
723d798813
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ public class IncludeOrganizer {
|
|||
String name = new String(include.getName().getSimpleID());
|
||||
IncludeInfo includeInfo = new IncludeInfo(name, include.isSystemInclude());
|
||||
String path = include.getPath();
|
||||
IPath header = path.isEmpty() ? null : Path.fromPortableString(path);
|
||||
IPath header = path.isEmpty() ? null : Path.fromOSString(path);
|
||||
IncludeGroupStyle style =
|
||||
header != null ? getIncludeStyle(header) : getIncludeStyle(includeInfo);
|
||||
IncludePrototype prototype = new IncludePrototype(include, header, includeInfo, style);
|
||||
|
|
Loading…
Add table
Reference in a new issue