1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 17:26:01 +02:00

Bug 515383: Missing standard headers in file associations

The following standard headers were missing from the file associations:

  - cuchar
  - cstdalign
  - scoped_allocator
  - shared_mutex

Additionally, cinttypes is no longer (since C++11) a GCC extension

Change-Id: I1545257d7d934c970de4f2f45f4e15499cec3fd9
Signed-off-by: Felix Morgner <fmorgner@hsr.ch>
This commit is contained in:
Felix Morgner 2017-04-18 15:56:44 +02:00
parent 2e235b70e7
commit 3cc96b5873
2 changed files with 4 additions and 2 deletions

View file

@ -536,7 +536,7 @@
priority="high"/>
</extension>
<!-- The reserved filenames by the C++ standard (cinttypes is G++ specific) -->
<!-- The reserved filenames by the C++ standard -->
<extension point="org.eclipse.core.contenttype.contentTypes">
<file-association
content-type="org.eclipse.cdt.core.cxxHeader"
@ -575,7 +575,7 @@
<extension point="org.eclipse.core.contenttype.contentTypes">
<file-association
content-type="org.eclipse.cdt.core.cxxHeader"
file-names="condition_variable,ctgmath"/>
file-names="condition_variable,ctgmath,cuchar,scoped_allocator,cstdalign,shared_mutex"/>
</extension>
<!-- =================================================================================== -->

View file

@ -454,6 +454,7 @@ public class GCCHeaderSubstitutionMaps {
"<math.h>", "<cmath>",
"<setjmp.h>", "<csetjmp>",
"<signal.h>", "<csignal>",
"<stdalign.h", "<cstdalign>",
"<stdarg.h>", "<cstdarg>",
"<stdbool.h>", "<cstdbool>",
"<stddef.h>", "<cstddef>",
@ -463,6 +464,7 @@ public class GCCHeaderSubstitutionMaps {
"<string.h>", "<cstring>",
"<tgmath.h>", "<ctgmath>",
"<time.h>", "<ctime>",
"<uchar.h>", "<cuchar>",
"<wchar.h>", "<cwchar>",
"<wctype.h>", "<cwctype>",
"<ios>", "<iostream>",