Searched refs:EndLoc (Results 1 - 25 of 58) sorted by relevance

123

/external/clang/lib/AST/
H A DSelectorLocationsKind.cpp24 SourceLocation EndLoc) {
28 if (EndLoc.isInvalid())
32 return EndLoc.getLocWithOffset(-Len);
73 SourceLocation EndLoc) {
78 Args, EndLoc))
87 Args, EndLoc))
100 SourceLocation EndLoc) {
101 return hasStandardSelLocs(Sel, SelLocs, Args, EndLoc);
108 SourceLocation EndLoc) {
110 getArgLoc(Index, Args), EndLoc);
20 getStandardSelLoc(unsigned Index, Selector Sel, bool WithArgSpace, SourceLocation ArgLoc, SourceLocation EndLoc) argument
70 hasStandardSelLocs(Selector Sel, ArrayRef<SourceLocation> SelLocs, ArrayRef<T *> Args, SourceLocation EndLoc) argument
97 hasStandardSelectorLocs(Selector Sel, ArrayRef<SourceLocation> SelLocs, ArrayRef<Expr *> Args, SourceLocation EndLoc) argument
104 getStandardSelectorLoc(unsigned Index, Selector Sel, bool WithArgSpace, ArrayRef<Expr *> Args, SourceLocation EndLoc) argument
114 hasStandardSelectorLocs(Selector Sel, ArrayRef<SourceLocation> SelLocs, ArrayRef<ParmVarDecl *> Args, SourceLocation EndLoc) argument
121 getStandardSelectorLoc(unsigned Index, Selector Sel, bool WithArgSpace, ArrayRef<ParmVarDecl *> Args, SourceLocation EndLoc) argument
[all...]
H A DStmt.cpp683 EndLoc(endloc), AsmStr(asmstr.str()), NumAsmToks(asmtoks.size()) {
772 SourceLocation EndLoc; local
774 EndLoc = getFinallyStmt()->getLocEnd();
776 EndLoc = getCatchStmt(NumCatchStmts - 1)->getLocEnd();
778 EndLoc = getTryBody()->getLocEnd();
780 return SourceRange(AtTryLoc, EndLoc);
/external/clang/include/clang/AST/
H A DSelectorLocationsKind.h49 SourceLocation EndLoc);
61 SourceLocation EndLoc);
67 SourceLocation EndLoc);
79 SourceLocation EndLoc);
H A DDeclarationName.h529 SourceLocation EndLoc = getEndLoc(); variable
530 return SourceRange(BeginLoc, EndLoc.isValid() ? EndLoc : BeginLoc);
536 SourceLocation EndLoc = getEndLoc(); variable
537 return EndLoc.isValid() ? EndLoc : getLocStart();
H A DStmt.h448 SourceLocation StartLoc, EndLoc; member in class:clang::DeclStmt
453 StartLoc(startLoc), EndLoc(endLoc) {}
473 SourceLocation getEndLoc() const { return EndLoc; }
474 void setEndLoc(SourceLocation L) { EndLoc = L; }
477 return SourceRange(StartLoc, EndLoc);
1674 SourceLocation AsmLoc, LBraceLoc, EndLoc; member in class:clang::MSAsmStmt
1697 SourceLocation getEndLoc() const { return EndLoc; }
1698 void setEndLoc(SourceLocation L) { EndLoc = L; }
1744 return SourceRange(AsmLoc, EndLoc);
/external/llvm/lib/Target/MBlaze/AsmParser/
H A DMBlazeAsmParser.cpp43 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
87 SMLoc StartLoc, EndLoc; member in struct:__anon8910::MBlazeOperand
119 EndLoc = o.EndLoc;
143 SMLoc getEndLoc() const { return EndLoc; }
230 Op->EndLoc = S;
238 Op->EndLoc = E;
246 Op->EndLoc = E;
254 Op->EndLoc = E;
265 Op->EndLoc
390 ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) argument
[all...]
/external/llvm/include/llvm/MC/MCParser/
H A DMCAsmParser.h120 virtual bool ParseExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
129 virtual bool ParseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
/external/clang/lib/Frontend/
H A DDependencyGraph.cpp55 SourceLocation EndLoc,
76 SourceLocation EndLoc,
71 InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, bool IsAngled, const FileEntry *File, SourceLocation EndLoc, StringRef SearchPath, StringRef RelativePath) argument
H A DDependencyFile.cpp63 SourceLocation EndLoc,
136 SourceLocation EndLoc,
131 InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, bool IsAngled, const FileEntry *File, SourceLocation EndLoc, StringRef SearchPath, StringRef RelativePath) argument
/external/llvm/include/llvm/MC/
H A DMCTargetAsmParser.h51 SMLoc &EndLoc) = 0;
/external/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp115 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
172 SMLoc StartLoc, EndLoc; member in struct:__anon8982::X86Operand
199 : Kind(K), StartLoc(Start), EndLoc(End) {}
204 SMLoc getEndLoc() const { return EndLoc; }
206 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); }
444 SMLoc EndLoc = SMLoc::getFromPointer(Loc.getPointer() + Str.size() - 1); local
445 X86Operand *Res = new X86Operand(Token, Loc, EndLoc);
451 static X86Operand *CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc) { argument
452 X86Operand *Res = new X86Operand(Register, StartLoc, EndLoc);
457 static X86Operand *CreateImm(const MCExpr *Val, SMLoc StartLoc, SMLoc EndLoc){ argument
464 CreateMem(const MCExpr *Disp, SMLoc StartLoc, SMLoc EndLoc, unsigned Size = 0) argument
477 CreateMem(unsigned SegReg, const MCExpr *Disp, unsigned BaseReg, unsigned IndexReg, unsigned Scale, SMLoc StartLoc, SMLoc EndLoc, unsigned Size = 0) argument
521 ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) argument
889 SMLoc StartLoc, EndLoc; local
[all...]
/external/clang/lib/Parse/
H A DParser.cpp142 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); local
143 if (!ParenRange.getEnd().isFileID() || EndLoc.isInvalid()) {
152 << FixItHint::CreateInsertion(EndLoc, ")");
189 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); local
190 if (EndLoc.isValid() &&
193 Diag(EndLoc, DiagID)
195 << FixItHint::CreateInsertion(EndLoc, Spelling);
228 SourceLocation EndLoc = Tok.getLocation(); local
233 EndLoc = Tok.getLocation();
242 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc));
658 SourceLocation EndLoc; local
1251 ParseSimpleAsm(SourceLocation *EndLoc) argument
1527 SourceLocation EndLoc = Tok.getLastLoc(); local
[all...]
H A DParseCXXInlineMethods.cpp505 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); local
506 if (!EndLoc.isValid())
507 EndLoc = Tok.getLocation();
509 Diag(EndLoc, diag::err_expected_semi_decl_list);
H A DParseDecl.cpp180 SourceLocation *EndLoc) {
186 ParseAvailabilityAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc);
192 ParseThreadSafetyAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc);
197 ParseTypeTagForDatatypeAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc);
1000 SourceLocation *EndLoc) {
1028 if (EndLoc)
1029 *EndLoc = T.getCloseLocation();
1035 SourceLocation *EndLoc) {
1092 if (EndLoc)
1093 *EndLoc
177 ParseGNUAttributeArgs(IdentifierInfo *AttrName, SourceLocation AttrNameLoc, ParsedAttributes &Attrs, SourceLocation *EndLoc) argument
997 ParseThreadSafetyAttribute(IdentifierInfo &AttrName, SourceLocation AttrNameLoc, ParsedAttributes &Attrs, SourceLocation *EndLoc) argument
1032 ParseTypeTagForDatatypeAttribute(IdentifierInfo &AttrName, SourceLocation AttrNameLoc, ParsedAttributes &Attrs, SourceLocation *EndLoc) argument
1122 SourceLocation EndLoc = ConsumeBracket(); local
3925 SourceLocation EndLoc; local
4574 SourceLocation EndLoc; local
4678 FnAttrs, EndLoc); local
[all...]
H A DParseDeclCXX.cpp665 SourceLocation EndLoc; local
669 EndLoc = Tok.getAnnotationEndLoc();
673 return EndLoc;
717 EndLoc = T.getCloseLocation();
728 return EndLoc;
733 SourceLocation EndLoc) {
743 Tok.setAnnotationEndLoc(EndLoc);
2362 SourceLocation EndLoc; local
2364 EndLoc = Tok.getLocation();
2367 EndLoc
731 AnnotateExistingDecltypeSpecifier(const DeclSpec& DS, SourceLocation StartLoc, SourceLocation EndLoc) argument
[all...]
/external/llvm/lib/MC/MCParser/
H A DAsmParser.cpp172 virtual bool ParseExpression(const MCExpr *&Res, SMLoc &EndLoc);
173 virtual bool ParseParenExpression(const MCExpr *&Res, SMLoc &EndLoc);
226 bool ParsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc);
227 bool ParseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc);
228 bool ParseParenExpr(const MCExpr *&Res, SMLoc &EndLoc);
229 bool ParseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc);
649 bool AsmParser::ParseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) { argument
653 EndLoc = Lexer.getLoc();
663 bool AsmParser::ParseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) { argument
667 EndLoc
678 ParsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) argument
797 SMLoc EndLoc; local
859 ParseExpression(const MCExpr *&Res, SMLoc &EndLoc) argument
897 ParseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) argument
997 ParseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc) argument
[all...]
/external/clang/include/clang/Lex/
H A DMacroInfo.h136 void setDefinitionEndLoc(SourceLocation EndLoc) { EndLocation = EndLoc; } argument
H A DPPCallbacks.h99 /// \param EndLoc The location of the last token within the inclusion
118 SourceLocation EndLoc,
270 SourceLocation EndLoc,
274 EndLoc, SearchPath, RelativePath);
276 EndLoc, SearchPath, RelativePath);
113 InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, bool IsAngled, const FileEntry *File, SourceLocation EndLoc, StringRef SearchPath, StringRef RelativePath) argument
265 InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, bool IsAngled, const FileEntry *File, SourceLocation EndLoc, StringRef SearchPath, StringRef RelativePath) argument
/external/clang/lib/Sema/
H A DSemaAttr.cpp395 void Sema::PopPragmaVisibility(bool IsNamespaceEnd, SourceLocation EndLoc) { argument
397 Diag(EndLoc, diag::err_pragma_pop_visibility_mismatch);
408 Diag(EndLoc, diag::note_surrounding_namespace_ends_here);
417 Diag(EndLoc, diag::err_pragma_pop_visibility_mismatch);
H A DSemaLambda.cpp56 SourceLocation EndLoc,
71 = CXXMethodDecl::Create(Context, Class, EndLoc,
80 EndLoc);
379 SourceLocation EndLoc; local
393 EndLoc = Intro.Range.getEnd();
408 EndLoc = ParamInfo.getSourceRange().getEnd();
424 MethodTyInfo, EndLoc, Params);
53 startLambdaDefinition(CXXRecordDecl *Class, SourceRange IntroducerRange, TypeSourceInfo *MethodType, SourceLocation EndLoc, llvm::ArrayRef<ParmVarDecl *> Params) argument
/external/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp48 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
155 SMLoc StartLoc, EndLoc; member in class:__anon8937::MipsOperand
223 Op->EndLoc = S;
231 Op->EndLoc = E;
239 Op->EndLoc = E;
249 Op->EndLoc = E;
256 SMLoc getEndLoc() const { return EndLoc; }
578 SMLoc EndLoc; local
596 if (getParser().ParseParenExpression(IdVal,EndLoc))
629 SMLoc &EndLoc) {
628 ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) argument
[all...]
/external/clang/include/clang/Sema/
H A DDeclSpec.h922 /// \param EndLoc the location of the last token that makes up the type name.
925 SourceLocation EndLoc) {
928 EndLocation = EndLoc;
954 /// \param EndLoc the location of the last token that makes up the type name.
957 SourceLocation EndLoc) {
960 EndLocation = EndLoc;
980 SourceLocation EndLoc) {
983 EndLocation = EndLoc;
1016 /// EndLoc - If valid, the place where this chunck ends.
1017 SourceLocation EndLoc; member in struct:clang::DeclaratorChunk
923 setConversionFunctionId(SourceLocation OperatorLoc, ParsedType Ty, SourceLocation EndLoc) argument
955 setConstructorName(ParsedType ClassType, SourceLocation ClassNameLoc, SourceLocation EndLoc) argument
978 setDestructorName(SourceLocation TildeLoc, ParsedType ClassType, SourceLocation EndLoc) argument
1750 AddTypeInfo(const DeclaratorChunk &TI, ParsedAttributes &attrs, SourceLocation EndLoc) argument
[all...]
/external/clang/lib/Lex/
H A DTokenLexer.cpp597 SourceLocation EndLoc = Tokens[CurToken - 1].getLocation(); local
607 if (EndLoc.isFileID())
608 EndLoc = getExpansionLocForMacroDefLoc(EndLoc);
609 Tok.setLocation(SM.createExpansionLoc(Tok.getLocation(), StartLoc, EndLoc,
/external/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp255 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
308 SMLoc StartLoc, EndLoc; member in class:__anon8852::ARMOperand
415 EndLoc = o.EndLoc;
489 SMLoc getEndLoc() const { return EndLoc; }
491 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); }
2073 Op->EndLoc = S;
2081 Op->EndLoc = S;
2089 Op->EndLoc = S;
2097 Op->EndLoc
2191 CreateRegList(const SmallVectorImpl<std::pair<unsigned, SMLoc> > &Regs, SMLoc StartLoc, SMLoc EndLoc) argument
2453 ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) argument
2897 SMLoc EndLoc = Parser.getTok().getLoc(); local
3131 SMLoc EndLoc = Parser.getTok().getLoc(); local
3202 SMLoc EndLoc = Parser.getTok().getLoc(); local
3226 SMLoc EndLoc = Parser.getTok().getLoc(); local
[all...]
/external/clang/lib/Rewrite/Frontend/
H A DRewriteModernObjC.cpp369 SourceLocation EndLoc=SourceLocation());
380 SourceLocation EndLoc=SourceLocation());
2056 SourceLocation EndLoc) {
2075 VK_RValue, EndLoc);
2129 SourceLocation Loc, EndLoc; local
2133 EndLoc = ECE->getRParenLoc();
2136 EndLoc = E->getLocEnd();
2139 if (Loc.isInvalid() || EndLoc.isInvalid())
2143 const char *endBuf = SM->getCharacterData(EndLoc);
2601 SourceLocation EndLoc local
2054 SynthesizeCallToFunctionDecl( FunctionDecl *FD, Expr **args, unsigned nargs, SourceLocation StartLoc, SourceLocation EndLoc) argument
2697 SourceLocation EndLoc = Exp->getLocEnd(); local
2835 SourceLocation EndLoc = Exp->getLocEnd(); local
3174 SynthMessageExpr(ObjCMessageExpr *Exp, SourceLocation StartLoc, SourceLocation EndLoc) argument
[all...]

Completed in 516 milliseconds

123