History log of /llvm-project-15.0.7/llvm/utils/FileCheck/FileCheck.cpp (Results 151 – 175 of 204)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-3.2.0-rc2
# 26491446 15-Nov-2012 Dmitri Gribenko <[email protected]>

FileCheck: remove useless 'continue' at the end of a 'while(){}' loop.

llvm-svn: 168048


# 92987fb3 14-Nov-2012 Alexander Kornienko <[email protected]>

Support for [[@LINE]], [[@LINE+<offset>]], [[@LINE-<offset>]] expressions in
FileCheck.

llvm-svn: 167978


Revision tags: llvmorg-3.2.0-rc1
# 6e9fcd62 21-Sep-2012 Dmitri Gribenko <[email protected]>

Clarify comment.

llvm-svn: 164371


# ef878a83 18-Sep-2012 Benjamin Kramer <[email protected]>

FileCheck: Fix off-by-one bug that made CHECK-NOT: ignore the next character after the colon.

llvm-svn: 164165


# d9466967 08-Sep-2012 Ted Kremenek <[email protected]>

Revert "Add -exact-match option to FileCheck to allow clients to do exact matches without using regular expressions."

Turns out I did not need it after all. If we find a use for it in the future, w

Revert "Add -exact-match option to FileCheck to allow clients to do exact matches without using regular expressions."

Turns out I did not need it after all. If we find a use for it in the future, we
can resurrect it.

llvm-svn: 163457

show more ...


# 1cb637cc 07-Sep-2012 Ted Kremenek <[email protected]>

Add -exact-match option to FileCheck to allow clients to do exact matches without using regular expressions.

llvm-svn: 163371


Revision tags: llvmorg-3.1.0, llvmorg-3.1.0-rc3, llvmorg-3.1.0-rc2, llvmorg-3.1.0-rc1, llvmorg-3.0.0, llvmorg-3.0.0-rc4, llvmorg-3.0.0-rc3, llvmorg-3.0.0-rc2, llvmorg-3.0.0-rc1
# 03b80a40 16-Oct-2011 Chris Lattner <[email protected]>

Make SMDiagnostic a little more sane. Instead of passing around note/warning/error as a
string, pass it around as an enum.

llvm-svn: 142107


# a3a06810 16-Oct-2011 Chris Lattner <[email protected]>

Enhance llvm::SourceMgr to support diagnostic ranges, the same way clang does. Enhance
the X86 asmparser to produce ranges in the one case that was annoying me, for example:

test.s:10:15: error: in

Enhance llvm::SourceMgr to support diagnostic ranges, the same way clang does. Enhance
the X86 asmparser to produce ranges in the one case that was annoying me, for example:

test.s:10:15: error: invalid operand for instruction
movl 0(%rax), 0(%edx)
^~~~~~~

It should be straight-forward to enhance filecheck, tblgen, and/or the .ll parser to use
ranges where appropriate if someone is interested.

llvm-svn: 142106

show more ...


# e53c95f1 09-Apr-2011 Chris Lattner <[email protected]>

fix PR9629 - We were lowering regexes like a{{b|c}}d into ab|cd, which
is substantially different than a(b|c)d. Form the latter regex instead.
This found a few problems in the testsuite, which serve

fix PR9629 - We were lowering regexes like a{{b|c}}d into ab|cd, which
is substantially different than a(b|c)d. Form the latter regex instead.
This found a few problems in the testsuite, which serves as its test.

llvm-svn: 129196

show more ...


# 53e0679d 09-Apr-2011 Chris Lattner <[email protected]>

various cleanups, no functionality change.

llvm-svn: 129192


Revision tags: llvmorg-2.9.0, llvmorg-2.9.0-rc3, llvmorg-2.9.0-rc2, llvmorg-2.9.0-rc1
# b692bed7 09-Feb-2011 Chris Lattner <[email protected]>

emit a specific error when the input file is empty. This fixes
an annoyance of mine when working on tests: if the input .ll file
is broken, opt outputs an error and generates an empty file. FileCh

emit a specific error when the input file is empty. This fixes
an annoyance of mine when working on tests: if the input .ll file
is broken, opt outputs an error and generates an empty file. FileCheck
then emits its "ooh I couldn't find the first CHECK line, scanning
from ..." which obfuscates the actual problem.

llvm-svn: 125193

show more ...


# 39a0ffc3 16-Dec-2010 Michael J. Spencer <[email protected]>

MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> via an out parm.

llvm-svn: 121958


# 7b6fef82 09-Dec-2010 Michael J. Spencer <[email protected]>

Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with error_code &ec. And fix clients.

llvm-svn: 121379


# 447762da 29-Nov-2010 Michael J. Spencer <[email protected]>

Merge System into Support.

llvm-svn: 120298


# fd781bf0 14-Nov-2010 NAKAMURA Takumi <[email protected]>

FileCheck: Eliminate DOSish \r from input file.

It can pass two tests below on Win32.
- Clang :: CodeGenCXX/dyncast.cpp
- LLVM :: CodeGen/ARM/globals.ll

llvm-svn: 119023


# eba55822 15-Oct-2010 Jakob Stoklund Olesen <[email protected]>

Teach FileCheck to handle trailing CHECK-NOT patterns.

A CHECK-NOT pattern without a following CHECK pattern simply checks that the
pattern doesn't match before the end of the input file.

You can e

Teach FileCheck to handle trailing CHECK-NOT patterns.

A CHECK-NOT pattern without a following CHECK pattern simply checks that the
pattern doesn't match before the end of the input file.

You can even have only CHECK-NOT patterns to check that strings appear nowhere
in the input file.

llvm-svn: 116592

show more ...


Revision tags: llvmorg-2.8.0, llvmorg-2.8.0-rc3, llvmorg-2.8.0-rc2, llvmorg-2.8.0-rc1, llvmorg-2.8.0-rc0
# defcda2e 20-Aug-2010 Mikhail Glushenkov <[email protected]>

Trailing whitespace.

llvm-svn: 111656


Revision tags: llvmorg-2.7.0
# 0e45d24a 05-Apr-2010 Chris Lattner <[email protected]>

stringref-ize the MemoryBuffer::get apis. This requires
a co-committed clang patch.

llvm-svn: 100485


# c069cc8e 19-Mar-2010 Daniel Dunbar <[email protected]>

FileCheck: Don't print "possibly intended match" line if it would match the
"scanning from here" one.

llvm-svn: 98971


# e9aa36c8 30-Jan-2010 Daniel Dunbar <[email protected]>

FileCheck: When looking for "possible matches", only compare against the prefix
line. Turns out edit_distance can be slow if the string we are scanning for
happens to be quite large.

llvm-svn: 94860


# 2bf486eb 29-Jan-2010 Dan Gohman <[email protected]>

Minor code cleanup.

llvm-svn: 94848


# df22bbf7 29-Jan-2010 Dan Gohman <[email protected]>

Skip whitespace when looking for a potential intended match.
Before:

<stdin>:94:1: note: possible intended match here
movsd 4096(%rsi), %xmm0
^

After:
<stdin>:94:2: note: possible intended match h

Skip whitespace when looking for a potential intended match.
Before:

<stdin>:94:1: note: possible intended match here
movsd 4096(%rsi), %xmm0
^

After:
<stdin>:94:2: note: possible intended match here
movsd 4096(%rsi), %xmm0
^

llvm-svn: 94847

show more ...


# 838fb09a 29-Jan-2010 Dan Gohman <[email protected]>

Fix the position of the caret in the FileCheck error message.
Before:

test/CodeGen/X86/lsr-reuse.ll:52:34: error: expected string not found in input
; CHECK: movsd -2048(%rsi), %xmm0

Fix the position of the caret in the FileCheck error message.
Before:

test/CodeGen/X86/lsr-reuse.ll:52:34: error: expected string not found in input
; CHECK: movsd -2048(%rsi), %xmm0
^

After:

test/CodeGen/X86/lsr-reuse.ll:52:10: error: expected string not found in input
; CHECK: movsd -2048(%rsi), %xmm0
^

llvm-svn: 94846

show more ...


# 864b1aae 29-Jan-2010 Daniel Dunbar <[email protected]>

FileCheck: Switch "possible match" calculation to use StringRef::edit_distance.
- Thanks Doug, who is obviously less lazy than me!

llvm-svn: 94795


# 53b95c40 29-Nov-2009 Daniel Dunbar <[email protected]>

Fix FileCheck crash when fuzzy scanning starting at the end of the file.

llvm-svn: 90065


123456789