diff options
author | Vedant Kumar <vsk@apple.com> | 2016-06-22 23:58:03 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-06-22 23:58:03 +0000 |
commit | cae1cff94ab1a04237324adaa45f7d8a937151ee (patch) | |
tree | b0e71181d26c152b569a69dd4b567e67f37087ba | |
parent | 5340b279aec752e1a94d20ea0e922ca074b27498 (diff) | |
download | bcm5719-llvm-cae1cff94ab1a04237324adaa45f7d8a937151ee.tar.gz bcm5719-llvm-cae1cff94ab1a04237324adaa45f7d8a937151ee.zip |
[llvm-cov] Fix a buggy lit test
There is no check prefix for "WHOLE-FILE": this particular line was
supposed to use the "ALL" prefix.
llvm-svn: 273517
-rw-r--r-- | llvm/test/tools/llvm-cov/showTemplateInstantiations.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/tools/llvm-cov/showTemplateInstantiations.cpp b/llvm/test/tools/llvm-cov/showTemplateInstantiations.cpp index ad00199712f..2ae7b1a7709 100644 --- a/llvm/test/tools/llvm-cov/showTemplateInstantiations.cpp +++ b/llvm/test/tools/llvm-cov/showTemplateInstantiations.cpp @@ -1,7 +1,7 @@ // RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -filename-equivalence %s | FileCheck -check-prefix=CHECK -check-prefix=ALL %s // RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -filename-equivalence -name=_Z4funcIbEiT_ %s | FileCheck -check-prefix=CHECK -check-prefix=FILTER %s -// before coverage // WHOLE-FILE: | [[@LINE]]|// before +// before coverage // ALL: | [[@LINE]]|// before // FILTER-NOT: | [[@LINE-1]]|// before template<typename T> // ALL: | [[@LINE]]|template<typename T> int func(T x) { // ALL-NEXT: 2| [[@LINE]]|int func(T x) { |