diff options
author | John McCall <rjmccall@apple.com> | 2010-03-10 11:27:22 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-03-10 11:27:22 +0000 |
commit | 7c2342dd4c9947806842e5aca3d2bb2e542853c9 (patch) | |
tree | 9791dad988e7ab05776a61a84c66234aeef17f31 /test/CodeCompletion/call.cpp | |
parent | e5ea0cae7769866b5a5f9fa979e7c9d1d23a6bcc (diff) |
When pretty-printing tag types, only print the tag if we're in C (and
therefore not creating ElaboratedTypes, which are still pretty-printed
with the written tag).
Most of these testcase changes were done by script, so don't feel too
sorry for my fingers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98149 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeCompletion/call.cpp')
-rw-r--r-- | test/CodeCompletion/call.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeCompletion/call.cpp b/test/CodeCompletion/call.cpp index 5467717bbc..04d2a2f0c9 100644 --- a/test/CodeCompletion/call.cpp +++ b/test/CodeCompletion/call.cpp @@ -18,10 +18,10 @@ void f(); void test() { f(Y(), 0, 0); // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:19:9 %s -o - | FileCheck -check-prefix=CC1 %s - // CHECK-CC1: f(struct N::Y y, <#int ZZ#>) + // CHECK-CC1: f(N::Y y, <#int ZZ#>) // CHECK-CC1-NEXT: f(int i, <#int j#>, int k) // CHECK-CC1-NEXT: f(float x, <#float y#>) // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:19:13 %s -o - | FileCheck -check-prefix=CC2 %s - // CHECK-CC2-NOT: f(struct N::Y y, int ZZ) + // CHECK-CC2-NOT: f(N::Y y, int ZZ) // CHECK-CC2: f(int i, int j, <#int k#>) } |