File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
com.googlecode.cppcheclipse.ui/src/com/googlecode/cppcheclipse/ui Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ protected Collection<File> getIncludes(boolean onlyUserDefined) {
167167 ICLanguageSettingEntry [] includePathSettings = languageSetting
168168 .getSettingEntries (ICSettingEntry .INCLUDE_PATH );
169169
170- // resolve entries first (with CD )
170+ // resolve entries first (with CDT )
171171 for (ICLanguageSettingEntry includePathSetting : CDataUtil
172172 .resolveEntries (includePathSettings , activeConfiguration )) {
173173 // only regard user-specified include paths or only
@@ -176,6 +176,7 @@ protected Collection<File> getIncludes(boolean onlyUserDefined) {
176176 || (includePathSetting .isBuiltIn () && !onlyUserDefined )) {
177177 File includePath ;
178178 if (includePathSetting instanceof ACPathEntry ) {
179+ // let CDT do the resolution for all ACPathEntries which should cover all include settings
179180 ACPathEntry includePathEntry = (ACPathEntry ) includePathSetting ;
180181 includePath = includePathEntry .getLocation ().toFile ();
181182 } else {
You can’t perform that action at this time.
0 commit comments