Searched refs:EndLoc (Results 1 - 25 of 55) 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...]
/external/clang/include/clang/AST/
H A DSelectorLocationsKind.h49 SourceLocation EndLoc);
61 SourceLocation EndLoc);
67 SourceLocation EndLoc);
79 SourceLocation EndLoc);
H A DDeclarationName.h533 SourceLocation EndLoc = getEndLoc(); variable
534 return EndLoc.isValid() ? EndLoc : getLocStart();
H A DStmt.h450 SourceLocation StartLoc, EndLoc; member in class:clang::DeclStmt
455 StartLoc(startLoc), EndLoc(endLoc) {}
475 SourceLocation getEndLoc() const { return EndLoc; }
476 void setEndLoc(SourceLocation L) { EndLoc = L; }
479 SourceLocation getLocEnd() const LLVM_READONLY { return EndLoc; }
1676 SourceLocation LBraceLoc, EndLoc; member in class:clang::MSAsmStmt
1699 SourceLocation getEndLoc() const { return EndLoc; }
1700 void setEndLoc(SourceLocation L) { EndLoc = L; }
1746 SourceLocation getLocEnd() const LLVM_READONLY { return EndLoc; }
/external/llvm/lib/Target/MBlaze/AsmParser/
H A DMBlazeAsmParser.cpp39 MBlazeOperand *ParseRegister(SMLoc &StartLoc, SMLoc &EndLoc);
44 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
83 SMLoc StartLoc, EndLoc; member in struct:__anon9711::MBlazeOperand
121 EndLoc = o.EndLoc;
145 SMLoc getEndLoc() const { return EndLoc; }
232 Op->EndLoc = S;
240 Op->EndLoc = E;
248 Op->EndLoc = E;
256 Op->EndLoc
391 ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) argument
405 ParseRegister(SMLoc &StartLoc, SMLoc &EndLoc) argument
[all...]
/external/llvm/include/llvm/MC/MCParser/
H A DMCAsmParser.h151 virtual bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
160 virtual bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
/external/clang/lib/Lex/
H A DPreprocessingRecord.cpp460 SourceLocation EndLoc; local
462 EndLoc = FilenameRange.getBegin();
464 EndLoc = FilenameRange.getEnd();
466 EndLoc = EndLoc.getLocWithOffset(-1); // the InclusionDirective expects
472 File, SourceRange(HashLoc, EndLoc));
H A DTokenLexer.cpp638 SourceLocation EndLoc = Tokens[CurToken - 1].getLocation(); local
648 if (EndLoc.isFileID())
649 EndLoc = getExpansionLocForMacroDefLoc(EndLoc);
653 while (SM.getFileID(EndLoc) != MacroFID)
654 EndLoc = SM.getImmediateExpansionRange(EndLoc).second;
656 Tok.setLocation(SM.createExpansionLoc(Tok.getLocation(), StartLoc, EndLoc,
/external/clang/lib/Parse/
H A DParser.cpp122 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); local
123 if (!ParenRange.getEnd().isFileID() || EndLoc.isInvalid()) {
132 << FixItHint::CreateInsertion(EndLoc, ")");
170 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); local
171 if (EndLoc.isValid() &&
174 Diag(EndLoc, DiagID)
176 << FixItHint::CreateInsertion(EndLoc, Spelling);
209 SourceLocation EndLoc = Tok.getLocation(); local
214 EndLoc = Tok.getLocation();
223 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc));
651 SourceLocation EndLoc; local
1243 ParseSimpleAsm(SourceLocation *EndLoc) argument
1519 SourceLocation EndLoc = Tok.getLastLoc(); local
[all...]
H A DParseDeclCXX.cpp672 SourceLocation EndLoc; local
676 EndLoc = Tok.getAnnotationEndLoc();
680 return EndLoc;
706 EndLoc = ConsumeParen();
712 EndLoc = ConsumeAnyToken();
715 EndLoc = Tok.getLocation();
718 return EndLoc;
736 EndLoc = T.getCloseLocation();
747 return EndLoc;
752 SourceLocation EndLoc) {
750 AnnotateExistingDecltypeSpecifier(const DeclSpec& DS, SourceLocation StartLoc, SourceLocation EndLoc) argument
2538 SourceLocation EndLoc; local
[all...]
H A DParseDecl.cpp187 SourceLocation *EndLoc,
196 ParseAvailabilityAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc);
202 ParseThreadSafetyAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc);
207 ParseTypeTagForDatatypeAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc);
1045 SourceLocation *EndLoc) {
1074 if (EndLoc)
1075 *EndLoc = T.getCloseLocation();
1081 SourceLocation *EndLoc) {
1138 if (EndLoc)
1139 *EndLoc
184 ParseGNUAttributeArgs(IdentifierInfo *AttrName, SourceLocation AttrNameLoc, ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, SourceLocation ScopeLoc, AttributeList::Syntax Syntax) argument
1042 ParseThreadSafetyAttribute(IdentifierInfo &AttrName, SourceLocation AttrNameLoc, ParsedAttributes &Attrs, SourceLocation *EndLoc) argument
1078 ParseTypeTagForDatatypeAttribute(IdentifierInfo &AttrName, SourceLocation AttrNameLoc, ParsedAttributes &Attrs, SourceLocation *EndLoc) argument
1168 SourceLocation EndLoc = ConsumeBracket(); local
2130 ParseAlignmentSpecifier(ParsedAttributes &Attrs, SourceLocation *EndLoc) argument
4110 SourceLocation EndLoc; local
4777 SourceLocation StartLoc, LocalEndLoc, EndLoc; local
4896 FnAttrs, EndLoc); local
[all...]
H A DParseCXXInlineMethods.cpp524 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); local
525 if (!EndLoc.isValid())
526 EndLoc = Tok.getLocation();
528 Diag(EndLoc, diag::err_expected_semi_decl_list);
H A DParseStmt.cpp1675 SourceLocation EndLoc = AsmLoc; local
1690 EndLoc = LBraceLoc = ConsumeBrace();
1695 SrcMgr.getDecomposedExpansionLoc(EndLoc);
1738 EndLoc = ConsumeBrace();
1744 EndLoc = TokLoc;
1768 llvm::makeArrayRef(AsmToks), EndLoc);
/external/clang/lib/Sema/
H A DSemaAttr.cpp389 void Sema::PopPragmaVisibility(bool IsNamespaceEnd, SourceLocation EndLoc) { argument
391 Diag(EndLoc, diag::err_pragma_pop_visibility_mismatch);
402 Diag(EndLoc, diag::note_surrounding_namespace_ends_here);
411 Diag(EndLoc, diag::err_pragma_pop_visibility_mismatch);
H A DSemaLambda.cpp57 SourceLocation EndLoc,
72 = CXXMethodDecl::Create(Context, Class, EndLoc,
81 EndLoc);
447 SourceLocation EndLoc; local
462 EndLoc = Intro.Range.getEnd();
477 EndLoc = ParamInfo.getSourceRange().getEnd();
502 MethodTyInfo, EndLoc, Params);
54 startLambdaDefinition(CXXRecordDecl *Class, SourceRange IntroducerRange, TypeSourceInfo *MethodType, SourceLocation EndLoc, ArrayRef<ParmVarDecl *> Params) argument
/external/llvm/include/llvm/MC/
H A DMCTargetAsmParser.h99 SMLoc &EndLoc) = 0;
/external/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp111 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
169 SMLoc StartLoc, EndLoc; member in struct:__anon9798::X86Operand
205 : Kind(K), StartLoc(Start), EndLoc(End) {}
210 SMLoc getEndLoc() const { return EndLoc; }
213 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); }
476 SMLoc EndLoc = SMLoc::getFromPointer(Loc.getPointer() + Str.size()); local
477 X86Operand *Res = new X86Operand(Token, Loc, EndLoc);
483 static X86Operand *CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc, argument
486 X86Operand *Res = new X86Operand(Register, StartLoc, EndLoc);
493 static X86Operand *CreateImm(const MCExpr *Val, SMLoc StartLoc, SMLoc EndLoc, argument
502 CreateMem(const MCExpr *Disp, SMLoc StartLoc, SMLoc EndLoc, unsigned Size = 0, bool NeedSizeDir = false) argument
517 CreateMem(unsigned SegReg, const MCExpr *Disp, unsigned BaseReg, unsigned IndexReg, unsigned Scale, SMLoc StartLoc, SMLoc EndLoc, unsigned Size = 0, bool NeedSizeDir = false) argument
563 ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) argument
1346 SMLoc StartLoc, EndLoc; local
[all...]
/external/clang/include/clang/Sema/
H A DDeclSpec.h926 /// \param EndLoc the location of the last token that makes up the type name.
929 SourceLocation EndLoc) {
932 EndLocation = EndLoc;
958 /// \param EndLoc the location of the last token that makes up the type name.
961 SourceLocation EndLoc) {
964 EndLocation = EndLoc;
984 SourceLocation EndLoc) {
987 EndLocation = EndLoc;
1020 /// EndLoc - If valid, the place where this chunck ends.
1021 SourceLocation EndLoc; member in struct:clang::DeclaratorChunk
927 setConversionFunctionId(SourceLocation OperatorLoc, ParsedType Ty, SourceLocation EndLoc) argument
959 setConstructorName(ParsedType ClassType, SourceLocation ClassNameLoc, SourceLocation EndLoc) argument
982 setDestructorName(SourceLocation TildeLoc, ParsedType ClassType, SourceLocation EndLoc) argument
1774 AddTypeInfo(const DeclaratorChunk &TI, ParsedAttributes &attrs, SourceLocation EndLoc) argument
[all...]
/external/llvm/lib/MC/MCParser/
H A DAsmParser.cpp223 virtual bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc);
224 virtual bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc);
319 bool ParsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc);
320 bool ParseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc);
321 bool ParseParenExpr(const MCExpr *&Res, SMLoc &EndLoc);
322 bool ParseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc);
714 bool AsmParser::ParseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) { argument
718 EndLoc = Lexer.getTok().getEndLoc();
728 bool AsmParser::ParseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) { argument
732 EndLoc
743 ParsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) argument
868 SMLoc EndLoc; local
930 parseExpression(const MCExpr *&Res, SMLoc &EndLoc) argument
968 parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) argument
1068 ParseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc) argument
[all...]
/external/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp75 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
240 SMLoc StartLoc, EndLoc; member in class:__anon9734::MipsOperand
313 Op->EndLoc = S;
321 Op->EndLoc = E;
329 Op->EndLoc = E;
339 Op->EndLoc = E;
385 SMLoc getEndLoc() const { return EndLoc; }
862 SMLoc EndLoc; local
880 if (getParser().parseParenExpression(IdVal,EndLoc))
918 SMLoc &EndLoc) {
917 ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) argument
[all...]
/external/clang/include/clang/Lex/
H A DMacroInfo.h117 void setDefinitionEndLoc(SourceLocation EndLoc) { EndLocation = EndLoc; } argument
/external/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp185 SMLoc &EndLoc);
266 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
316 SMLoc StartLoc, EndLoc; member in class:__anon9678::ARMOperand
447 EndLoc = o.EndLoc;
521 SMLoc getEndLoc() const { return EndLoc; }
524 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); }
2106 Op->EndLoc = S;
2114 Op->EndLoc = S;
2122 Op->EndLoc
2224 CreateRegList(const SmallVectorImpl<std::pair<unsigned, SMLoc> > &Regs, SMLoc StartLoc, SMLoc EndLoc) argument
2486 ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) argument
2580 SMLoc EndLoc; local
3017 parseVectorLane(VectorLaneTy &LaneKind, unsigned &Index, SMLoc &EndLoc) argument
3264 SMLoc EndLoc = Parser.getTok().getLoc(); local
3569 SMLoc EndLoc; local
3649 SMLoc EndLoc; local
3710 SMLoc EndLoc; local
3780 SMLoc EndLoc; local
[all...]
/external/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp66 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
161 SMLoc StartLoc, EndLoc; member in class:__anon9643::AArch64Operand
213 : MCParsedAsmOperand(), Kind(K), StartLoc(S), EndLoc(E) {}
220 SMLoc getEndLoc() const { return EndLoc; }
1118 SMLoc EndLoc; local
1124 EndLoc = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
1125 Operands.push_back(AArch64Operand::CreateImm(ImmVal, StartLoc, EndLoc));
1130 SMLoc EndLoc; local
1137 EndLoc = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
1138 Operands.push_back(AArch64Operand::CreateImm(ImmVal, StartLoc, EndLoc));
1521 ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) argument
[all...]
/external/clang/lib/Rewrite/Core/
H A DHTMLRewrite.cpp279 SourceLocation EndLoc = StartLoc.getLocWithOffset(FileEnd-FileStart); local
351 R.InsertTextAfter(EndLoc, "</body></html>\n");
/external/clang/include/clang/Parse/
H A DParser.h1108 // EndLoc, if non-NULL, is filled with the location of the last token of
1110 ExprResult ParseSimpleAsm(SourceLocation *EndLoc = 0);
1335 // EndLoc is filled with the location of the last token of the specification.
1859 SourceLocation *EndLoc,
1889 SourceLocation *EndLoc = 0);
1891 SourceLocation *EndLoc = 0);
1926 SourceLocation *EndLoc);
1931 SourceLocation *EndLoc);
1937 SourceLocation EndLoc);

Completed in 1473 milliseconds

123