1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-30 12:25:35 +02:00
cdt/core
Marc-Andre Laperle 4a83dbfbdd Bug 568427 - 'alloca' not resolved when parsing in the context of clang-cl
Don't define __STDC__ for clang-cl, just like msvc. Added a new compiler
type to differentiate clang-cl from clang in order to be able to add the
define just for clang and not clang-cl. I initially thought that the
unresolved symbol was caused by a missing built-in symbol (_alloca) so I
started to implement MSVC as a separate language from GNU and not
pollute GCCBuiltinSymbolProvider with a new concept of compiler type,
etc. But it turns out _alloca is also in declared in the headers and was
inactive because of the wrongly defined __STDC__. So this version of the
fix of adding a compiler type to GPPScannerExtensionConfiguration is
much less intrusive and risky, although adding a new language could have
its merit in case of more substantial change.

Change-Id: Ieb27b7dbcc531b8fd3fe30777cd7f343fd3ba66f
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2020-11-08 22:28:19 -05:00
..
org.eclipse.cdt.core Bug 568427 - 'alloca' not resolved when parsing in the context of clang-cl 2020-11-08 22:28:19 -05:00
org.eclipse.cdt.core.linux [releng] Bump version to 10.1.0 2020-10-06 16:20:18 -04:00
org.eclipse.cdt.core.linux.aarch64 Bug 568079: Hook into Eclipse tracing system for native code 2020-11-04 13:37:24 -05:00
org.eclipse.cdt.core.linux.ppc64le Bug 568079: Hook into Eclipse tracing system for native code 2020-11-04 13:37:24 -05:00
org.eclipse.cdt.core.linux.x86_64 Bug 568079: Hook into Eclipse tracing system for native code 2020-11-04 13:37:24 -05:00
org.eclipse.cdt.core.macosx Bug 568079: Hook into Eclipse tracing system for native code 2020-11-04 13:37:24 -05:00
org.eclipse.cdt.core.native Bug 568079: Warnings as errors 2020-11-05 20:24:54 -05:00
org.eclipse.cdt.core.tests Bug 568616 - Support for __is_same and __is_same_as (built-in equivalent to std::is_same) 2020-11-08 21:04:31 -05:00
org.eclipse.cdt.core.win32 [releng] Bump version to 10.1.0 2020-10-06 16:20:18 -04:00
org.eclipse.cdt.core.win32.x86_64 Bug 568079: Warnings as errors 2020-11-05 20:24:54 -05:00
org.eclipse.cdt.ui Bug 329995 - Update all C/C++ views when the active configuration changes 2020-10-20 22:59:41 -04:00
org.eclipse.cdt.ui.tests Bug 567778 - [Include Browser] Cannot open the Include Browser on file outside source folder 2020-10-12 12:15:43 -04:00
pom.xml [releng] Bump version to 10.1.0 2020-10-06 16:20:18 -04:00