diff options
| author | Douglas Gregor <dgregor@apple.com> | 2013-11-07 22:55:02 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2013-11-07 22:55:02 +0000 |
| commit | a5ba7b405dff48a5a0a63fff32c99eedb044842b (patch) | |
| tree | 08a2df4571a1eb85943e49c4c9fe2159b6d1df85 /lib/CodeGen/CodeGenModule.h | |
| parent | 1ce550906a9163fdf4d174a2f4ed594aa18d75ac (diff) | |
| download | clang-a5ba7b405dff48a5a0a63fff32c99eedb044842b.tar.gz clang-a5ba7b405dff48a5a0a63fff32c99eedb044842b.tar.bz2 clang-a5ba7b405dff48a5a0a63fff32c99eedb044842b.tar.xz | |
Modules: Teach the preprocessor to recognize 'import' only after an '@'.
The preprocessor currently recognizes module declarations to load a
module based on seeing the 'import' keyword followed by an
identifier. This sequence is fairly unlikely in C (one would need a
type named 'import'), but is more common in Objective-C (where a
variable named 'import' can cause problems). Since import declarations
currently require a leading '@', recognize that in the preprocessor as
well. Fixes <rdar://problem/15084587>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194225 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions
