Home
last modified time | relevance | path

Searched refs:EndLoc (Results 1 – 25 of 61) sorted by relevance

123

/external/clang/lib/AST/
DSelectorLocationsKind.cpp24 SourceLocation EndLoc) { in getStandardSelLoc() argument
28 if (EndLoc.isInvalid()) in getStandardSelLoc()
32 return EndLoc.getLocWithOffset(-Len); in getStandardSelLoc()
73 SourceLocation EndLoc) { in hasStandardSelLocs() argument
78 Args, EndLoc)) in hasStandardSelLocs()
87 Args, EndLoc)) in hasStandardSelLocs()
100 SourceLocation EndLoc) { in hasStandardSelectorLocs() argument
101 return hasStandardSelLocs(Sel, SelLocs, Args, EndLoc); in hasStandardSelectorLocs()
108 SourceLocation EndLoc) { in getStandardSelectorLoc() argument
110 getArgLoc(Index, Args), EndLoc); in getStandardSelectorLoc()
[all …]
/external/clang/include/clang/AST/
DStmtOpenMP.h35 SourceLocation EndLoc; variable
39 OMPClause(OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) in OMPClause() argument
40 : StartLoc(StartLoc), EndLoc(EndLoc), Kind(K) {} in OMPClause()
47 SourceLocation getLocEnd() const { return EndLoc; } in getLocEnd()
52 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd()
163 SourceLocation EndLoc) in OMPDefaultClause() argument
164 : OMPClause(OMPC_default, StartLoc, EndLoc), LParenLoc(LParenLoc), in OMPDefaultClause()
211 SourceLocation EndLoc, unsigned N) in OMPPrivateClause() argument
212 : OMPClause(OMPC_private, StartLoc, EndLoc), in OMPPrivateClause()
233 SourceLocation EndLoc,
[all …]
DSelectorLocationsKind.h49 SourceLocation EndLoc);
61 SourceLocation EndLoc);
67 SourceLocation EndLoc);
79 SourceLocation EndLoc);
DDeclarationName.h537 SourceLocation EndLoc = getEndLoc(); in getLocEnd() local
538 return EndLoc.isValid() ? EndLoc : getLocStart(); in getLocEnd()
/external/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp63 SMLoc StartLoc, EndLoc; member in __anonb2cfd2ca0111::SystemZOperand
107 : Kind(kind), StartLoc(startLoc), EndLoc(endLoc) in SystemZOperand()
122 static SystemZOperand *createInvalid(SMLoc StartLoc, SMLoc EndLoc) { in createInvalid() argument
123 return new SystemZOperand(KindInvalid, StartLoc, EndLoc); in createInvalid()
132 SMLoc StartLoc, SMLoc EndLoc) { in createReg() argument
133 SystemZOperand *Op = new SystemZOperand(KindReg, StartLoc, EndLoc); in createReg()
139 SMLoc EndLoc) { in createAccessReg() argument
140 SystemZOperand *Op = new SystemZOperand(KindAccessReg, StartLoc, EndLoc); in createAccessReg()
145 SMLoc EndLoc) { in createImm() argument
146 SystemZOperand *Op = new SystemZOperand(KindImm, StartLoc, EndLoc); in createImm()
[all …]
/external/clang/lib/Sema/
DSemaOpenMP.cpp206 SourceLocation EndLoc) { in ActOnOpenMPExecutableDirective() argument
210 Res = ActOnOpenMPParallelDirective(Clauses, AStmt, StartLoc, EndLoc); in ActOnOpenMPExecutableDirective()
225 SourceLocation EndLoc) { in ActOnOpenMPParallelDirective() argument
228 return Owned(OMPParallelDirective::Create(Context, StartLoc, EndLoc, in ActOnOpenMPParallelDirective()
237 SourceLocation EndLoc) { in ActOnOpenMPSimpleClause() argument
243 ArgumentLoc, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSimpleClause()
258 SourceLocation EndLoc) { in ActOnOpenMPDefaultClause() argument
283 EndLoc); in ActOnOpenMPDefaultClause()
290 SourceLocation EndLoc) { in ActOnOpenMPVarListClause() argument
294 Res = ActOnOpenMPPrivateClause(VarList, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPVarListClause()
[all …]
DSemaAttr.cpp415 void Sema::PopPragmaVisibility(bool IsNamespaceEnd, SourceLocation EndLoc) { in PopPragmaVisibility() argument
417 Diag(EndLoc, diag::err_pragma_pop_visibility_mismatch); in PopPragmaVisibility()
428 Diag(EndLoc, diag::note_surrounding_namespace_ends_here); in PopPragmaVisibility()
437 Diag(EndLoc, diag::err_pragma_pop_visibility_mismatch); in PopPragmaVisibility()
DSemaLambda.cpp126 SourceLocation EndLoc, in startLambdaDefinition() argument
141 = CXXMethodDecl::Create(Context, Class, EndLoc, in startLambdaDefinition()
149 EndLoc); in startLambdaDefinition()
534 SourceLocation EndLoc; in ActOnStartOfLambdaDefinition() local
548 EndLoc = Intro.Range.getEnd(); in ActOnStartOfLambdaDefinition()
563 EndLoc = ParamInfo.getSourceRange().getEnd(); in ActOnStartOfLambdaDefinition()
588 MethodTyInfo, EndLoc, Params); in ActOnStartOfLambdaDefinition()
/external/clang/lib/Parse/
DParser.cpp134 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() local
135 if (!ParenRange.getEnd().isFileID() || EndLoc.isInvalid()) { in SuggestParentheses()
144 << FixItHint::CreateInsertion(EndLoc, ")"); in SuggestParentheses()
182 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume() local
183 if (EndLoc.isValid() && in ExpectAndConsume()
186 Diag(EndLoc, DiagID) in ExpectAndConsume()
188 << FixItHint::CreateInsertion(EndLoc, Spelling); in ExpectAndConsume()
221 SourceLocation EndLoc = Tok.getLocation(); in ConsumeExtraSemi() local
226 EndLoc = Tok.getLocation(); in ConsumeExtraSemi()
235 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
[all …]
DParseDeclCXX.cpp690 SourceLocation EndLoc; in ParseDecltypeSpecifier() local
694 EndLoc = Tok.getAnnotationEndLoc(); in ParseDecltypeSpecifier()
698 return EndLoc; in ParseDecltypeSpecifier()
736 EndLoc = ConsumeParen(); in ParseDecltypeSpecifier()
742 EndLoc = ConsumeAnyToken(); in ParseDecltypeSpecifier()
745 EndLoc = Tok.getLocation(); in ParseDecltypeSpecifier()
748 return EndLoc; in ParseDecltypeSpecifier()
768 EndLoc = T.getCloseLocation(); in ParseDecltypeSpecifier()
783 return EndLoc; in ParseDecltypeSpecifier()
788 SourceLocation EndLoc) { in AnnotateExistingDecltypeSpecifier() argument
[all …]
DParseOpenMP.cpp88 SourceLocation Loc = ConsumeToken(), EndLoc; in ParseOpenMPDeclarativeOrExecutableDirective() local
131 EndLoc = Tok.getLocation(); in ParseOpenMPDeclarativeOrExecutableDirective()
157 Loc, EndLoc); in ParseOpenMPDeclarativeOrExecutableDirective()
DParseDecl.cpp194 SourceLocation *EndLoc, in ParseGNUAttributeArgs() argument
203 ParseAvailabilityAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc); in ParseGNUAttributeArgs()
209 ParseThreadSafetyAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc); in ParseGNUAttributeArgs()
214 ParseTypeTagForDatatypeAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc); in ParseGNUAttributeArgs()
1159 SourceLocation *EndLoc) { in ParseThreadSafetyAttribute() argument
1188 if (EndLoc) in ParseThreadSafetyAttribute()
1189 *EndLoc = T.getCloseLocation(); in ParseThreadSafetyAttribute()
1195 SourceLocation *EndLoc) { in ParseTypeTagForDatatypeAttribute() argument
1252 if (EndLoc) in ParseTypeTagForDatatypeAttribute()
1253 *EndLoc = T.getCloseLocation(); in ParseTypeTagForDatatypeAttribute()
[all …]
/external/llvm/include/llvm/MC/MCParser/
DMCAsmParser.h166 virtual bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
174 virtual bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) = 0;
182 virtual bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
/external/clang/lib/Lex/
DTokenLexer.cpp652 SourceLocation EndLoc = Tokens[CurToken - 1].getLocation(); in PasteTokens() local
662 if (EndLoc.isFileID()) in PasteTokens()
663 EndLoc = getExpansionLocForMacroDefLoc(EndLoc); in PasteTokens()
667 while (SM.getFileID(EndLoc) != MacroFID) in PasteTokens()
668 EndLoc = SM.getImmediateExpansionRange(EndLoc).second; in PasteTokens()
670 Tok.setLocation(SM.createExpansionLoc(Tok.getLocation(), StartLoc, EndLoc, in PasteTokens()
DPreprocessingRecord.cpp465 SourceLocation EndLoc; in InclusionDirective() local
467 EndLoc = FilenameRange.getBegin(); in InclusionDirective()
469 EndLoc = FilenameRange.getEnd(); in InclusionDirective()
471 EndLoc = EndLoc.getLocWithOffset(-1); // the InclusionDirective expects in InclusionDirective()
477 File, SourceRange(HashLoc, EndLoc)); in InclusionDirective()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp233 virtual bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc);
234 virtual bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc);
235 virtual bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc);
330 bool ParsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc);
331 bool ParseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc);
332 bool ParseParenExpr(const MCExpr *&Res, SMLoc &EndLoc);
333 bool ParseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc);
724 bool AsmParser::ParseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) { in ParseParenExpr() argument
728 EndLoc = Lexer.getTok().getEndLoc(); in ParseParenExpr()
738 bool AsmParser::ParseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) { in ParseBracketExpr() argument
[all …]
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp564 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
618 SMLoc StartLoc, EndLoc; member
654 : Kind(K), StartLoc(Start), EndLoc(End) {} in X86Operand()
662 SMLoc getEndLoc() const { return EndLoc; } in getEndLoc()
665 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); } in getLocRange()
935 SMLoc EndLoc = SMLoc::getFromPointer(Loc.getPointer() + Str.size()); in CreateToken() local
936 X86Operand *Res = new X86Operand(Token, Loc, EndLoc); in CreateToken()
942 static X86Operand *CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc, in CreateReg()
947 X86Operand *Res = new X86Operand(Register, StartLoc, EndLoc); in CreateReg()
956 static X86Operand *CreateImm(const MCExpr *Val, SMLoc StartLoc, SMLoc EndLoc){ in CreateImm()
[all …]
/external/clang/include/clang/Sema/
DDeclSpec.h946 SourceLocation EndLoc) { in setConversionFunctionId() argument
949 EndLocation = EndLoc; in setConversionFunctionId()
978 SourceLocation EndLoc) { in setConstructorName() argument
981 EndLocation = EndLoc; in setConstructorName()
1001 SourceLocation EndLoc) { in setDestructorName() argument
1004 EndLocation = EndLoc; in setDestructorName()
1038 SourceLocation EndLoc; member
1391 I.EndLoc = RBLoc; in getArray()
1455 I.EndLoc = RParenLoc; in getParen()
1832 SourceLocation EndLoc) { in AddTypeInfo() argument
[all …]
/external/clang/lib/ARCMigrate/
DObjCMT.cpp260 SourceLocation EndLoc = Setter->getDeclaratorEndLoc(); in rewriteToObjCProperty() local
262 EndLoc = EndLoc.getLocWithOffset(1); in rewriteToObjCProperty()
263 commit.remove(CharSourceRange::getCharRange(Setter->getLocStart(), EndLoc)); in rewriteToObjCProperty()
379 SourceLocation EndLoc = in rewriteToObjCInterfaceDecl() local
399 EndLoc = *PL; in rewriteToObjCInterfaceDecl()
402 commit.insertAfterToken(EndLoc, ClassString); in rewriteToObjCInterfaceDecl()
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp219 SMLoc &EndLoc);
267 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
318 SMLoc StartLoc, EndLoc; member in __anon65089acc0311::ARMOperand
454 EndLoc = o.EndLoc; in ARMOperand()
530 SMLoc getEndLoc() const { return EndLoc; } in getEndLoc()
533 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); } in getLocRange()
2198 Op->EndLoc = S; in CreateITMask()
2206 Op->EndLoc = S; in CreateCondCode()
2214 Op->EndLoc = S; in CreateCoprocNum()
2222 Op->EndLoc = S; in CreateCoprocReg()
[all …]
/external/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp190 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
250 SMLoc StartLoc, EndLoc; member
283 EndLoc = o.EndLoc; in PPCOperand()
305 SMLoc getEndLoc() const { return EndLoc; } in getEndLoc()
486 Op->EndLoc = S; in CreateToken()
500 Op->EndLoc = S; in CreateTokenWithStringCopy()
509 Op->EndLoc = E; in CreateImm()
520 Op->EndLoc = E; in CreateExpr()
530 Op->EndLoc = E; in CreateTLSReg()
926 ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) { in ParseRegister() argument
[all …]
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp75 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
272 SMLoc StartLoc, EndLoc; member in __anon5efbd75e0311::MipsOperand
345 Op->EndLoc = S; in CreateToken()
353 Op->EndLoc = E; in CreateReg()
361 Op->EndLoc = E; in CreateImm()
371 Op->EndLoc = E; in CreateMem()
427 return EndLoc; in getEndLoc()
1112 SMLoc EndLoc; in parseRelocOperand() local
1130 if (getParser().parseParenExpression(IdVal, EndLoc)) in parseRelocOperand()
1144 SMLoc &EndLoc) { in ParseRegister() argument
[all …]
/external/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp66 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
161 SMLoc StartLoc, EndLoc; member in __anon47c7655e0211::AArch64Operand
213 : MCParsedAsmOperand(), Kind(K), StartLoc(S), EndLoc(E) {} in AArch64Operand()
220 SMLoc getEndLoc() const { return EndLoc; } in getEndLoc()
1217 SMLoc EndLoc; in ParseOperand() local
1223 EndLoc = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in ParseOperand()
1224 Operands.push_back(AArch64Operand::CreateImm(ImmVal, StartLoc, EndLoc)); in ParseOperand()
1229 SMLoc EndLoc; in ParseOperand() local
1236 EndLoc = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in ParseOperand()
1237 Operands.push_back(AArch64Operand::CreateImm(ImmVal, StartLoc, EndLoc)); in ParseOperand()
[all …]
/external/clang/include/clang/Lex/
DMacroInfo.h133 void setDefinitionEndLoc(SourceLocation EndLoc) { EndLocation = EndLoc; } in setDefinitionEndLoc() argument
/external/llvm/include/llvm/MC/
DMCTargetAsmParser.h113 SMLoc &EndLoc) = 0;

123