diff options
author | Ilya Biryukov <ibiryukov@google.com> | 2017-11-08 13:05:52 +0000 |
---|---|---|
committer | Ilya Biryukov <ibiryukov@google.com> | 2017-11-08 13:05:52 +0000 |
commit | 4c855d55f14b238a2e75c05aecb00b46aa16de11 (patch) | |
tree | e28f3a8091a1b8bc4376edeff9f7f1202516584d | |
parent | 84f05ebee70a608bc7ba478636fdbb30067d855e (diff) |
Workaround reverse-iteration buildbot breakages. Filed PR35244.
Clang's completion output is non-deterministic, causing test failures
with turned on LLVM_REVERSE_ITERATION.
The workaround is to use CHECK-DAGs for now, will remove them when
PR35244 gets fixed.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317687 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeCompletion/qualifiers-as-written.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeCompletion/qualifiers-as-written.cpp b/test/CodeCompletion/qualifiers-as-written.cpp index e600267775..90530ec65c 100644 --- a/test/CodeCompletion/qualifiers-as-written.cpp +++ b/test/CodeCompletion/qualifiers-as-written.cpp @@ -25,6 +25,7 @@ void test() { // CHECK-1: COMPLETION: method : [#type#]method(<#type#>, <#foo::type#>, <#::foo::type#>, <#::foo::foo::type#>) f // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:26:3 %s -o - | FileCheck %s --check-prefix=CHECK-2 - // CHECK-2: COMPLETION: func : [#int#]func(<#foo a#>, <#bar b#>, <#ns::bar c#>, <#ns::baz d#> - // CHECK-2: COMPLETION: func : [#int#]func(<#foo::type a#>, <#bar b#>, <#baz c#> + // FIXME(ibiryukov): We should get rid of CHECK-DAGs here when completion output is made deterministic (see PR35244). + // CHECK-2-DAG: COMPLETION: func : [#int#]func(<#foo a#>, <#bar b#>, <#ns::bar c#>, <#ns::baz d#> + // CHECK-2-DAG: COMPLETION: func : [#int#]func(<#foo::type a#>, <#bar b#>, <#baz c#> } |