diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-01-04 19:18:44 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-01-04 19:18:44 +0000 |
commit | 88a35862fbe473f2a4f0c19f24dbe536937e1dc6 (patch) | |
tree | 26566bd2b4332e7f9ac6209ad3d2ef10b4e20958 /test/CodeCompletion/Inputs | |
parent | 5be028f84243e0f6906c259e67cbdaf9bee431b2 (diff) |
Teach Preprocessor::macro_begin/macro_end to lazily load all macro
definitions from a precompiled header. This ensures that
code-completion with macro names behaves the same with or without
precompiled headers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92497 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeCompletion/Inputs')
-rw-r--r-- | test/CodeCompletion/Inputs/macros.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeCompletion/Inputs/macros.h b/test/CodeCompletion/Inputs/macros.h new file mode 100644 index 0000000000..98b5ac6510 --- /dev/null +++ b/test/CodeCompletion/Inputs/macros.h @@ -0,0 +1,4 @@ +#define FOO +#define BAR(X, Y) X, Y +#define IDENTITY(X) X +#define WIBBLE(...) |