diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-05-25 21:41:55 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-05-25 21:41:55 +0000 |
commit | d8e8a58ee35ab334ab9d0c2154dca029c1822e8a (patch) | |
tree | d0abce441b16aab4f55cfcfa09fe3ae6daa68f92 /test/CodeCompletion/call.cpp | |
parent | 3458d43b68cc2fd1cb2b2304614e1dc3419820d8 (diff) |
Only enable code patterns (e.g., try { statements } catch (...) {
statements }) in the code-completion results if explicitly requested.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104637 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeCompletion/call.cpp')
-rw-r--r-- | test/CodeCompletion/call.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeCompletion/call.cpp b/test/CodeCompletion/call.cpp index 1df958ed2c..46494e7619 100644 --- a/test/CodeCompletion/call.cpp +++ b/test/CodeCompletion/call.cpp @@ -17,7 +17,7 @@ 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 + // RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:19:9 %s -o - | FileCheck -check-prefix=CC1 %s // CHECK-CC1: COMPLETION: Pattern : dynamic_cast<<#type-id#>>(<#expression#>) // CHECK-CC1: f(N::Y y, <#int ZZ#>) // CHECK-CC1-NEXT: f(int i, <#int j#>, int k) |