This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
OSS 12.5 uses configuration.xml with version 95. LLVM configured by build.log writes the following in configuration.xml <item path="llvm/tools/clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp" ex="false" tool="1" flavor2="8"> </item> And in OSS 12.4 this file is parsed in C++11 flavor as expected (flavor2=8 means C++11 flavor) If I open this project as is in NB 8.1 then this file is parsed in C++98 context which makes Code Assistance incorrect
fixed in enum, change set: 3d6099405a38
The bug origin is: The bug appeared while fixing a bug #240538 which introduced an "important flags" (flags that have an influence on system include paths and predefined macros). The bug #240538 fix has a lack: important flags are not persisted if item configuration does not have own configuration (-I or -D). The lack was fixed in a bug #250210. What was fixed in this bug? - the fix tries to restore missed important flags by standard. Also the fix makes an item property "C++ standard" semi-working. The property "C++ standard" is detected at code assistance configure time. if user changes the property Before the fix the IDE: - accept the property to highlight language keywords. - ignore the property to detect system include paths and predefined macros. After the fix the IDE: - accept the property to highlight language keywords - use the property to detect system include paths and predefined macros in case important flags are empty. Of course the best way to fix a project created after the bug #240538 and before the bug #250210 is to reconfigure code assistance.
Integrated into 'main-silver', will be available in build *201601180002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/6b12517eddc8 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #257518 unamanaged project from OSS 12.4 is incorrectly parsed in NB 8.1 (transplanted from 3d6099405a38c767488716d5edbf9e087e795ba7)
Fixes of this bug: http://hg.netbeans.org/releases/rev/3d6099405a38
Verified in NetBeans 8.1 patch1