diff options
author | Ben Langmuir <blangmuir@apple.com> | 2016-03-09 23:31:34 +0000 |
---|---|---|
committer | Ben Langmuir <blangmuir@apple.com> | 2016-03-09 23:31:34 +0000 |
commit | 3c4b1290a417ea70318b7424c9376f02abf09343 (patch) | |
tree | 09d10c4b96815ed1af96b4f21a285b3567343489 /clang/lib/Lex/ModuleMap.cpp | |
parent | d9f4a3d18cb6d2fc6a32fdb05089a7b736f83fc5 (diff) | |
download | bcm5719-llvm-3c4b1290a417ea70318b7424c9376f02abf09343.tar.gz bcm5719-llvm-3c4b1290a417ea70318b7424c9376f02abf09343.zip |
[Modules] Add stdatomic to the list of builtin headers
Since it's provided by the compiler. This allows a system module map
file to declare a module for it.
No test change for cstd.m, since stdatomic.h doesn't function without a
relatively complete stdint.h and stddef.h, which tests using this module
don't provide.
rdar://problem/24931246
llvm-svn: 263076
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
-rw-r--r-- | clang/lib/Lex/ModuleMap.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Lex/ModuleMap.cpp b/clang/lib/Lex/ModuleMap.cpp index a50cca3c4b2..5e103a054d5 100644 --- a/clang/lib/Lex/ModuleMap.cpp +++ b/clang/lib/Lex/ModuleMap.cpp @@ -151,6 +151,7 @@ static bool isBuiltinHeader(StringRef FileName) { .Case("limits.h", true) .Case("stdalign.h", true) .Case("stdarg.h", true) + .Case("stdatomic.h", true) .Case("stdbool.h", true) .Case("stddef.h", true) .Case("stdint.h", true) |