From 2f880e47ca32d007d7e9e5ff5efa05f5c3432744 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Tue, 6 Apr 2010 20:02:15 +0000 Subject: 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->". git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100555 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeCompletion/macros.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'test/CodeCompletion') diff --git a/test/CodeCompletion/macros.c b/test/CodeCompletion/macros.c index 6330d25172..0758bbf768 100644 --- a/test/CodeCompletion/macros.c +++ b/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 -- cgit v1.2.3