]> granicus.if.org Git - clang/commit
Sanitize the names of modules determined based on the names of headers
authorDouglas Gregor <dgregor@apple.com>
Fri, 12 Oct 2012 21:15:50 +0000 (21:15 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 12 Oct 2012 21:15:50 +0000 (21:15 +0000)
commit8b48e087bc0e022703d235fa6382551cfaa57ae6
tree08634fac40836c0b5bbffc9183d0fe0d1d1cd06a
parent8b799f332d4d00798491f45cc14d47ff97e052c7
Sanitize the names of modules determined based on the names of headers
or directories, to make sure that they are identifiers that are not
keywords in any dialect. Fixes <rdar://problem/12489495>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165821 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/ModuleMap.cpp
test/Modules/Inputs/normal-module-map/nested_umbrella/1.h [new file with mode: 0644]
test/Modules/Inputs/normal-module-map/nested_umbrella/a-extras.h [new file with mode: 0644]
test/Modules/normal-module-map.cpp