diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-04-06 20:02:15 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-04-06 20:02:15 +0000 |
commit | 8dea92bded5c8555fcfe4bcd0073dada272ac38b (patch) | |
tree | 5491e71a8f2e9532bcb0cb9d8c09d242efe192b7 /clang/test/CodeCompletion/macros.c | |
parent | c2c5831886a572ebcb83bbc4b7d8cc028e8d4deb (diff) |
Only prove macros as code-completion results when we're in a case
statement or for ordinary names. This means that we won't show macros
when completing, e.g., member expressions such as "p->".
Diffstat (limited to 'clang/test/CodeCompletion/macros.c')
-rw-r--r-- | clang/test/CodeCompletion/macros.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/test/CodeCompletion/macros.c b/clang/test/CodeCompletion/macros.c index 6330d25172c..0758bbf7688 100644 --- a/clang/test/CodeCompletion/macros.c +++ b/clang/test/CodeCompletion/macros.c @@ -19,11 +19,7 @@ void test(struct Point *p) { // RUN: %clang_cc1 -include-pch %t -fsyntax-only -code-completion-macros -code-completion-at=%s:12:14 %s -o - | FileCheck -check-prefix=CC1 %s // RUN: %clang_cc1 -include-pch %t -fsyntax-only -code-completion-macros -code-completion-at=%s:14:9 %s -o - | FileCheck -check-prefix=CC2 %s - // CC1: BAR(<#X#>, <#Y#>) // CC1: color - // CC1: FOO - // CC1: IDENTITY(<#X#>) - // CC1: WIBBLE // CC1: x // CC1: y // CC1: z |