search for: canonicalizeinputfile

Displaying 4 results from an estimated 4 matches for "canonicalizeinputfile".

2012 Sep 07
1
[LLVMdev] teaching FileCheck to handle variations in order
...+478,7 @@ struct CheckString { std::vector<std::pair<SMLoc, Pattern> > NotStrings; CheckString(const Pattern &P, SMLoc L, bool isCheckNext) - : Pat(P), Loc(L), IsCheckNext(isCheckNext) {} + : Pat(P), Loc(L), IsCheckNext(isCheckNext), PushPos(0), PopPos(0) {} }; /// CanonicalizeInputFile - Remove duplicate horizontal space from the specified @@ -517,6 +541,8 @@ static bool ReadCheckFile(SourceMgr &SM, StringRef Buffer = F->getBuffer(); std::vector<std::pair<SMLoc, Pattern> > NotMatches; + int NextCheckPopPos= 0; + SMLoc NextCheckPopLoc; while (1) {...
2010 May 29
1
[LLVMdev] SVN version fails to compile
...hared --enable-libffi --enable-debug-runtime --enable-debug-symbols --disable-optimized FreeBSD-8.0 2.7 with the same flags builds ok. Yuri --- errors --- llvm[3]: Compiling gtest-port.cc for Debug build /tmp/llvm-svn/llvm-objects/utils/FileCheck/Debug/FileCheck.o(.text+0x16b5): In function `CanonicalizeInputFile': /tmp/llvm-svn/llvm/utils/FileCheck/FileCheck.cpp:464: undefined reference to `llvm::MemoryBuffer::getMemBufferCopy(llvm::StringRef, char const*)' /tmp/llvm-svn/llvm-objects/utils/FileCheck/Debug/FileCheck.o(.text+0x1767): In function `ReadCheckFile': /tmp/llvm-svn/llvm/utils/FileCh...
2012 Sep 07
5
[LLVMdev] teaching FileCheck to handle variations in order
...+478,7 @@ struct CheckString { std::vector<std::pair<SMLoc, Pattern> > NotStrings; CheckString(const Pattern &P, SMLoc L, bool isCheckNext) - : Pat(P), Loc(L), IsCheckNext(isCheckNext) {} + : Pat(P), Loc(L), IsCheckNext(isCheckNext), PushPos(0), PopPos(0) {} }; /// CanonicalizeInputFile - Remove duplicate horizontal space from the specified @@ -517,6 +541,8 @@ static bool ReadCheckFile(SourceMgr &SM, StringRef Buffer = F->getBuffer(); std::vector<std::pair<SMLoc, Pattern> > NotMatches; + int NextCheckPopPos= 0; + SMLoc NextCheckPopLoc; while (1) {...
2012 Sep 07
0
[LLVMdev] teaching FileCheck to handle variations in order
On 9/7/2012 7:20 AM, Matthew Curtis wrote: > > The attached patch implements one possible solution. It introduces a > position stack and a couple of directives: > > * 'CHECK-PUSH:' pushes the current match position onto the stack. > * 'CHECK-POP:' pops the top value off of the stack and uses it to set > the current match position. > > The above