llvm-6502/utils
Alexey Samsonov 7df6641654 FileCheck: fix a bug with multiple --check-prefix options.
Summary:
This fixes a subtle bug in new FileCheck feature added
in r194343. When we search for the first satisfying check-prefix,
we should actually return the first encounter of some check-prefix as a
substring, even if it's not a part of valid check-line. Otherwise
"FileCheck --check-prefix=FOO --check-prefix=BAR" with check file:

  FOO not a vaild check-line
  FOO: foo
  BAR: bar

incorrectly accepted file:

  fog
  bar

as it skipped the first two encounters of FOO, matching only BAR: line.

Reviewers: arsenm, dsanders

Reviewed By: dsanders

CC: llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D2166

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194565 91177308-0d34-0410-b5e6-96231b3b80d8
2013-11-13 11:56:22 +00:00
..
bugpoint
buildit Configure with --enable-terminfo=no for Apple's llvmCore builds. 2013-11-03 05:49:36 +00:00
count
crosstool
emacs
FileCheck FileCheck: fix a bug with multiple --check-prefix options. 2013-11-13 11:56:22 +00:00
FileUpdate Revert "Revert "Windows: Add support for unicode command lines"" 2013-10-07 01:00:07 +00:00
fpcmp
git
git-svn
jedit
kate Remove linkonce_odr_auto_hide. 2013-11-01 17:09:14 +00:00
KillTheDoctor
lint
lit lit: multiprocessing platform fix attempt 2013-10-28 10:26:13 +00:00
llvm-build [llvm-build] Make Py3 compatible. 2013-08-14 23:15:39 +00:00
llvm-lit Remove llvm-lit from the cmake install target. 2013-08-22 01:34:09 +00:00
Misc Patch that forces MergeFunctions pass for clang. 2013-09-24 20:06:31 +00:00
not Revert "Revert "Windows: Add support for unicode command lines"" 2013-10-07 01:00:07 +00:00
PerfectShuffle
release
TableGen AVX-512: added VPCONFLICT instruction and intrinsics, 2013-11-03 13:46:31 +00:00
Target/ARM
testgen
textmate
unittest
valgrind
vim Remove linkonce_odr_auto_hide. 2013-11-01 17:09:14 +00:00
yaml-bench YAMLBench.cpp: Use llvm_move instead of std::move also here. 2013-10-18 23:25:39 +00:00
check-each-file
clang-parse-diagnostics-file
codegen-diff
countloc.sh
DSAclean.py
DSAextract.py
findmisopt
findoptdiff
findsym.pl
GenLibDeps.pl
GetRepositoryPath Fix the build for git repositories with multiple remotes. 2013-09-16 09:25:49 +00:00
GetSourceVersion
getsrcs.sh
lldbDataFormatters.py
llvm-compilers-check
llvm-native-gcc
llvm-native-gxx
llvm.grm
llvm.natvis
LLVMBuild.txt
llvmdo
llvmgrep
Makefile
makellvm
sort_includes.py
test_debuginfo.pl debuginfo-tests: Add support for an lldb wrapper script 2013-09-06 18:12:01 +00:00
UpdateCMakeLists.pl
wciia.py