/external/clang/lib/Parse/ |
ParseInit.cpp | 269 SourceLocation EndLoc = MatchRHSPunctuation(tok::r_square, StartLoc); 270 Desig.getDesignator(Desig.getNumDesignators() - 1).setRBracketLoc(EndLoc);
|
ParseCXXInlineMethods.cpp | 471 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); 472 if (!EndLoc.isValid()) 473 EndLoc = Tok.getLocation(); 475 Diag(EndLoc, diag::err_expected_semi_decl_list);
|
Parser.cpp | 112 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); 113 if (!ParenRange.getEnd().isFileID() || EndLoc.isInvalid()) { 122 << FixItHint::CreateInsertion(EndLoc, ")"); 187 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); 188 if (EndLoc.isValid() && 191 Diag(EndLoc, DiagID) 193 << FixItHint::CreateInsertion(EndLoc, Spelling); 581 SourceLocation EndLoc; 582 ExprResult Result(ParseSimpleAsm(&EndLoc)); 589 SingleDecl = Actions.ActOnFileScopeAsmDecl(Result.get(), StartLoc, EndLoc); [all...] |
ParseStmt.cpp | [all...] |
ParseDecl.cpp | 94 SourceLocation *endLoc) { 123 ParseAvailabilityAttribute(*AttrName, AttrNameLoc, attrs, endLoc); 239 if (endLoc) 240 *endLoc = Loc; 506 SourceLocation *endLoc) { 621 if (endLoc) 622 *endLoc = RParenLoc; [all...] |
/external/clang/lib/Rewrite/ |
HTMLRewrite.cpp | 280 SourceLocation EndLoc = StartLoc.getFileLocWithOffset(FileEnd-FileStart); 351 R.InsertTextAfter(EndLoc, "</body></html>\n");
|
RewriteObjC.cpp | 305 SourceLocation EndLoc=SourceLocation()); 308 SourceLocation EndLoc=SourceLocation()); [all...] |
/external/clang/lib/Sema/ |
SemaInit.cpp | 529 SourceLocation EndLoc 531 StructuredSubobjectInitList->setRBraceLoc(EndLoc); [all...] |
SemaDeclCXX.cpp | [all...] |
SemaExpr.cpp | [all...] |
/external/clang/lib/AST/ |
DeclObjC.cpp | 333 SourceLocation endLoc, 344 return new (C) ObjCMethodDecl(beginLoc, endLoc, [all...] |
Stmt.cpp | 522 SourceLocation EndLoc; 524 EndLoc = getFinallyStmt()->getLocEnd(); 526 EndLoc = getCatchStmt(NumCatchStmts - 1)->getLocEnd(); 528 EndLoc = getTryBody()->getLocEnd(); 530 return SourceRange(AtTryLoc, EndLoc);
|
Expr.cpp | [all...] |
/external/clang/lib/Lex/ |
PPMacroExpansion.cpp | 472 SourceLocation EndLoc = Tok.getLocation(); 475 Tok.setLocation(EndLoc); 719 SourceLocation EndLoc; 739 if (PP.ConcatenateIncludeName(FilenameBuffer, EndLoc)) [all...] |
/external/llvm/lib/Target/MBlaze/AsmParser/ |
MBlazeAsmParser.cpp | 48 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc); 86 SMLoc StartLoc, EndLoc; 118 EndLoc = o.EndLoc; 142 SMLoc getEndLoc() const { return EndLoc; } 229 Op->EndLoc = S; 237 Op->EndLoc = E; 245 Op->EndLoc = E; 253 Op->EndLoc = E; 264 Op->EndLoc = E [all...] |
/external/clang/include/clang/Basic/ |
SourceManager.h | 255 SourceLocation EndLoc = 257 return EndLoc.isInvalid() ? getInstantiationLocStart() : EndLoc; [all...] |
/external/llvm/lib/Target/X86/AsmParser/ |
X86AsmParser.cpp | 84 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc); 112 SMLoc StartLoc, EndLoc; 138 : Kind(K), StartLoc(Start), EndLoc(End) {} 143 SMLoc getEndLoc() const { return EndLoc; } 307 static X86Operand *CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc) { 308 X86Operand *Res = new X86Operand(Register, StartLoc, EndLoc); 313 static X86Operand *CreateImm(const MCExpr *Val, SMLoc StartLoc, SMLoc EndLoc){ 314 X86Operand *Res = new X86Operand(Immediate, StartLoc, EndLoc); 321 SMLoc EndLoc) { 322 X86Operand *Res = new X86Operand(Memory, StartLoc, EndLoc); [all...] |
/external/clang/include/clang/AST/ |
ExprCXX.h | [all...] |
DeclObjC.h | 155 SourceLocation EndLoc; // the location of the ';' or '}'. 168 ObjCMethodDecl(SourceLocation beginLoc, SourceLocation endLoc, 187 EndLoc(endLoc), Body(0), SelfDecl(0), CmdDecl(0) {} 197 SourceLocation endLoc, Selector SelInfo, 233 SourceLocation getLocEnd() const { return EndLoc; } 234 void setEndLoc(SourceLocation Loc) { EndLoc = Loc; } 236 return SourceRange(getLocation(), EndLoc); 490 SourceLocation EndLoc; // marks the '>', '}', or identifier. 679 SourceLocation getLocEnd() const { return EndLoc; } [all...] |
Stmt.h | 352 SourceLocation StartLoc, EndLoc; 356 SourceLocation endLoc) : Stmt(DeclStmtClass), DG(dg), 357 StartLoc(startLoc), EndLoc(endLoc) {} 377 SourceLocation getEndLoc() const { return EndLoc; } 378 void setEndLoc(SourceLocation L) { EndLoc = L; } 381 return SourceRange(StartLoc, EndLoc); [all...] |
/external/llvm/lib/MC/MCParser/ |
AsmParser.cpp | 147 virtual bool ParseExpression(const MCExpr *&Res, SMLoc &EndLoc); 148 virtual bool ParseParenExpression(const MCExpr *&Res, SMLoc &EndLoc); 188 bool ParsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc); 189 bool ParseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc); 190 bool ParseParenExpr(const MCExpr *&Res, SMLoc &EndLoc); 191 bool ParseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc); 541 bool AsmParser::ParseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) { 545 EndLoc = Lexer.getLoc(); 555 bool AsmParser::ParseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) { 559 EndLoc = Lexer.getLoc() [all...] |
/external/llvm/lib/Target/ARM/AsmParser/ |
ARMAsmParser.cpp | 51 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc); 171 SMLoc StartLoc, EndLoc; 243 EndLoc = o.EndLoc; 291 SMLoc getEndLoc() const { return EndLoc; } 790 Op->EndLoc = S; 798 Op->EndLoc = S; 806 Op->EndLoc = S; 814 Op->EndLoc = S; 823 Op->EndLoc = S [all...] |
/external/clang/include/clang/Sema/ |
DeclSpec.h | [all...] |
/external/clang/tools/libclang/ |
CIndex.cpp | 118 SourceLocation EndLoc = R.getEnd(); 119 if (EndLoc.isValid() && EndLoc.isMacroID()) 120 EndLoc = SM.getInstantiationRange(EndLoc).second; 121 if (R.isTokenRange() && !EndLoc.isInvalid() && EndLoc.isFileID()) { 122 unsigned Length = Lexer::MeasureTokenLength(EndLoc, SM, LangOpts); 123 EndLoc = EndLoc.getFileLocWithOffset(Length) [all...] |