Community
Participate
Working Groups
Created attachment 181422 [details] Define MS specific modifiers I created a Hello World project with the Visual C++ toolchain and noticed that endl was not resolved (with codan). I think some MS specific modifiers can be defined safely as empty symbols to improve parsing: __cdecl __fastcall __restrict __sptr __stdcall __unaligned __uptr __w64 see http://msdn.microsoft.com/en-US/library/6bh0054z(v=VS.80).aspx __based will need to be handled differently though. __declspec is already handled by the parser. Defining these symbols brings the result of indexing from 936 unresolved names (2.20%) to 111 unresolved names (0.26%) for a Hello World project.
Committed on HEAD (8.0) and 7.0.2. Thanks!
*** cdt cvs genie on behalf of agvozdev *** bug 328384: Improve handling of MS specific modifiers with VC toolchain Patch from Marc-Andre Laperle [*] WinDiscoveredPathInfo.java 1.4 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinDiscoveredPathInfo.java?root=Tools_Project&r1=1.3&r2=1.4 [*] WinDiscoveredPathInfo.java 1.2.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinDiscoveredPathInfo.java?root=Tools_Project&r1=1.2&r2=1.2.2.1