search for: getfrompointer

Displaying 5 results from an estimated 5 matches for "getfrompointer".

2012 Sep 07
1
[LLVMdev] teaching FileCheck to handle variations in order
...ceMgr &SM, // Scan ahead to the end of line. size_t EOL = Buffer.find_first_of("\n\r"); + if (IsCheckPush) { + if (CheckStrings.empty()) { + CheckStrings.push_back(CheckString(Pattern(Pattern::MatchCurrent), + SMLoc::getFromPointer(Buffer.data()), + false)); + } + CheckStrings.back().PushPos++; + continue; + } + + if (IsCheckPop) { + NextCheckPopLoc = SMLoc::getFromPointer(CheckPrefixStart); + NextCheckPopPos++; + continue; + } + + if (IsCheck...
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
2012 Sep 07
5
[LLVMdev] teaching FileCheck to handle variations in order
...ceMgr &SM, // Scan ahead to the end of line. size_t EOL = Buffer.find_first_of("\n\r"); + if (IsCheckPush) { + if (CheckStrings.empty()) { + CheckStrings.push_back(CheckString(Pattern(Pattern::MatchCurrent), + SMLoc::getFromPointer(Buffer.data()), + false)); + } + CheckStrings.back().PushPos++; + continue; + } + + if (IsCheckPop) { + NextCheckPopLoc = SMLoc::getFromPointer(CheckPrefixStart); + NextCheckPopPos++; + continue; + } + // Remember...
2006 Dec 21
0
[792] trunk/wxruby2/swig/classes/include/wxDisplay.h: Added missing class, but a wrapper needs some tweaking
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2010 Jun 21
2
[LLVMdev] MC: Object file specific parsing
...if (HashTok.isNot(AsmToken::Hash)) return Error(HashTok.getLoc(), "'#' expected"); - Parser.Lex(); // Eat hash token. + Lex(); // Eat hash token. - if (getParser().ParseExpression(Offset)) + if (ParseExpression(Offset)) return true; - E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); + E = SMLoc::getFromPointer(getTok().getLoc().getPointer() - 1); } return false; } @@ -514,7 +506,7 @@ bool ARMAsmParser::ParseMemoryOffsetReg(bool &Negative, bool ARMAsmParser::ParseShift(ShiftType &St,...