Home
last modified time | relevance | path

Searched refs:EndLoc (Results 1 – 25 of 69) 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 …]
DStmt.cpp592 SourceLocation EndLoc = in AnalyzeAsmString() local
595 Pieces.push_back(AsmStringPiece(N, Str, BeginLoc, EndLoc)); in AnalyzeAsmString()
626 SourceLocation EndLoc = in AnalyzeAsmString() local
629 Pieces.push_back(AsmStringPiece(N, Str, BeginLoc, EndLoc)); in AnalyzeAsmString()
721 EndLoc(endloc), NumAsmToks(asmtoks.size()) { in MSAsmStmt()
1192 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument
1199 new (Mem) OMPPrivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
1227 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument
1234 new (Mem) OMPFirstprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
1279 SourceLocation EndLoc, ArrayRef<Expr *> VL, ArrayRef<Expr *> SrcExprs, in Create() argument
[all …]
/external/clang/include/clang/AST/
DStmtOpenMP.h40 SourceLocation EndLoc; variable
68 SourceLocation StartLoc, SourceLocation EndLoc, in OMPExecutableDirective() argument
71 EndLoc(std::move(EndLoc)), NumClauses(NumClauses), in OMPExecutableDirective()
163 SourceLocation getLocEnd() const { return EndLoc; } in getLocEnd()
174 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd()
230 OMPParallelDirective(SourceLocation StartLoc, SourceLocation EndLoc, in OMPParallelDirective() argument
233 StartLoc, EndLoc, NumClauses, 1) {} in OMPParallelDirective()
254 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc,
349 SourceLocation StartLoc, SourceLocation EndLoc,
352 : OMPExecutableDirective(That, SC, Kind, StartLoc, EndLoc, NumClauses,
[all …]
DOpenMPClause.h36 SourceLocation EndLoc; variable
41 OMPClause(OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) in OMPClause() argument
42 : StartLoc(StartLoc), EndLoc(EndLoc), Kind(K) {} in OMPClause()
48 SourceLocation getLocEnd() const { return EndLoc; } in getLocEnd()
53 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd()
107 SourceLocation LParenLoc, SourceLocation EndLoc, unsigned N) in OMPVarListClause() argument
108 : OMPClause(K, StartLoc, EndLoc), LParenLoc(LParenLoc), NumVars(N) {} in OMPVarListClause()
174 SourceLocation EndLoc) in OMPIfClause() argument
175 : OMPClause(OMPC_if, StartLoc, EndLoc), LParenLoc(LParenLoc), in OMPIfClause()
227 SourceLocation EndLoc) in OMPFinalClause() argument
[all …]
DSelectorLocationsKind.h49 SourceLocation EndLoc);
61 SourceLocation EndLoc);
67 SourceLocation EndLoc);
79 SourceLocation EndLoc);
DDeclarationName.h539 SourceLocation EndLoc = getEndLoc(); in getLocEnd() local
540 return EndLoc.isValid() ? EndLoc : getLocStart(); in getLocEnd()
/external/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp65 SMLoc StartLoc, EndLoc; member in __anon920606c00111::SystemZOperand
128 : Kind(kind), StartLoc(startLoc), EndLoc(endLoc) {} in SystemZOperand()
132 SMLoc EndLoc) { in createInvalid() argument
133 return make_unique<SystemZOperand>(KindInvalid, StartLoc, EndLoc); in createInvalid()
142 createReg(RegisterKind Kind, unsigned Num, SMLoc StartLoc, SMLoc EndLoc) { in createReg() argument
143 auto Op = make_unique<SystemZOperand>(KindReg, StartLoc, EndLoc); in createReg()
149 createAccessReg(unsigned Num, SMLoc StartLoc, SMLoc EndLoc) { in createAccessReg() argument
150 auto Op = make_unique<SystemZOperand>(KindAccessReg, StartLoc, EndLoc); in createAccessReg()
155 createImm(const MCExpr *Expr, SMLoc StartLoc, SMLoc EndLoc) { in createImm() argument
156 auto Op = make_unique<SystemZOperand>(KindImm, StartLoc, EndLoc); in createImm()
[all …]
/external/clang/lib/Sema/
DSemaOpenMP.cpp1744 SourceLocation EndLoc) { in ActOnOpenMPExecutableDirective() argument
1779 EndLoc); in ActOnOpenMPExecutableDirective()
1782 Res = ActOnOpenMPSimdDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc, in ActOnOpenMPExecutableDirective()
1786 Res = ActOnOpenMPForDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc, in ActOnOpenMPExecutableDirective()
1791 EndLoc, VarsWithInheritedDSA); in ActOnOpenMPExecutableDirective()
1795 EndLoc); in ActOnOpenMPExecutableDirective()
1800 Res = ActOnOpenMPSectionDirective(AStmt, StartLoc, EndLoc); in ActOnOpenMPExecutableDirective()
1804 EndLoc); in ActOnOpenMPExecutableDirective()
1809 Res = ActOnOpenMPMasterDirective(AStmt, StartLoc, EndLoc); in ActOnOpenMPExecutableDirective()
1814 Res = ActOnOpenMPCriticalDirective(DirName, AStmt, StartLoc, EndLoc); in ActOnOpenMPExecutableDirective()
[all …]
DSemaAttr.cpp588 void Sema::PopPragmaVisibility(bool IsNamespaceEnd, SourceLocation EndLoc) { in PopPragmaVisibility() argument
590 Diag(EndLoc, diag::err_pragma_pop_visibility_mismatch); in PopPragmaVisibility()
601 Diag(EndLoc, diag::note_surrounding_namespace_ends_here); in PopPragmaVisibility()
610 Diag(EndLoc, diag::err_pragma_pop_visibility_mismatch); in PopPragmaVisibility()
/external/llvm/lib/Target/X86/AsmParser/
DX86Operand.h30 SMLoc StartLoc, EndLoc; member
67 : Kind(K), StartLoc(Start), EndLoc(End) {} in X86Operand()
75 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
78 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); } in getLocRange()
448 SMLoc EndLoc = SMLoc::getFromPointer(Loc.getPointer() + Str.size()); in CreateToken() local
449 auto Res = llvm::make_unique<X86Operand>(Token, Loc, EndLoc); in CreateToken()
456 CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc,
459 auto Res = llvm::make_unique<X86Operand>(Register, StartLoc, EndLoc);
469 SMLoc StartLoc, SMLoc EndLoc) { in CreateImm()
470 auto Res = llvm::make_unique<X86Operand>(Immediate, StartLoc, EndLoc); in CreateImm()
[all …]
/external/clang/lib/CodeGen/
DCoverageMappingGen.cpp381 Optional<SourceLocation> EndLoc = None) { in pushRegion()
384 RegionStack.emplace_back(Count, StartLoc, EndLoc); in pushRegion()
399 SourceLocation EndLoc = Region.hasEndLoc() in popRegions() local
402 while (!SM.isWrittenInSameFile(StartLoc, EndLoc)) { in popRegions()
405 SourceLocation NestedLoc = getStartOfFileOrMacro(EndLoc); in popRegions()
406 assert(SM.isWrittenInSameFile(NestedLoc, EndLoc)); in popRegions()
408 SourceRegions.emplace_back(Region.getCounter(), NestedLoc, EndLoc); in popRegions()
410 EndLoc = getPreciseTokenLocEnd(getIncludeOrExpansionLoc(EndLoc)); in popRegions()
411 assert(!EndLoc.isInvalid() && in popRegions()
414 Region.setEndLoc(EndLoc); in popRegions()
[all …]
/external/clang/lib/Parse/
DParser.cpp90 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() local
91 if (!ParenRange.getEnd().isFileID() || EndLoc.isInvalid()) { in SuggestParentheses()
100 << FixItHint::CreateInsertion(EndLoc, ")"); in SuggestParentheses()
138 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume() local
140 if (EndLoc.isValid()) in ExpectAndConsume()
145 ? Diag(EndLoc, DiagID) << FixItHint::CreateInsertion(EndLoc, Spelling) in ExpectAndConsume()
184 SourceLocation EndLoc = Tok.getLocation(); in ConsumeExtraSemi() local
189 EndLoc = Tok.getLocation(); in ConsumeExtraSemi()
198 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
201 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
[all …]
DParseStmtAsm.cpp336 SourceLocation EndLoc = AsmLoc; in ParseMicrosoftAsmStatement() local
353 EndLoc = ConsumeBrace(); in ParseMicrosoftAsmStatement()
354 LBraceLocs.push_back(EndLoc); in ParseMicrosoftAsmStatement()
359 SrcMgr.getDecomposedExpansionLoc(EndLoc); in ParseMicrosoftAsmStatement()
374 EndLoc = ConsumeBrace(); in ParseMicrosoftAsmStatement()
376 LBraceLocs.push_back(EndLoc); in ParseMicrosoftAsmStatement()
422 EndLoc = ConsumeBrace(); in ParseMicrosoftAsmStatement()
438 EndLoc = TokLoc; in ParseMicrosoftAsmStatement()
496 ConstraintRefs, ClobberRefs, Exprs, EndLoc); in ParseMicrosoftAsmStatement()
587 ClobberRefs, Exprs, EndLoc); in ParseMicrosoftAsmStatement()
DParseDeclCXX.cpp761 SourceLocation EndLoc; in ParseDecltypeSpecifier() local
765 EndLoc = Tok.getAnnotationEndLoc(); in ParseDecltypeSpecifier()
769 return EndLoc; in ParseDecltypeSpecifier()
809 EndLoc = ConsumeParen(); in ParseDecltypeSpecifier()
815 EndLoc = ConsumeAnyToken(); in ParseDecltypeSpecifier()
818 EndLoc = Tok.getLocation(); in ParseDecltypeSpecifier()
821 return EndLoc; in ParseDecltypeSpecifier()
841 EndLoc = T.getCloseLocation(); in ParseDecltypeSpecifier()
857 return EndLoc; in ParseDecltypeSpecifier()
862 SourceLocation EndLoc) { in AnnotateExistingDecltypeSpecifier() argument
[all …]
DParseDecl.cpp243 SourceLocation *EndLoc, in ParseAttributeWithTypeArg() argument
271 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, in ParseAttributeArgsCommon() argument
325 if (EndLoc) in ParseAttributeArgsCommon()
326 *EndLoc = RParen; in ParseAttributeArgsCommon()
336 SourceLocation *EndLoc, in ParseGNUAttributeArgs() argument
348 ParseAvailabilityAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseGNUAttributeArgs()
352 ParseObjCBridgeRelatedAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, in ParseGNUAttributeArgs()
356 ParseTypeTagForDatatypeAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, in ParseGNUAttributeArgs()
360 ParseAttributeWithTypeArg(*AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseGNUAttributeArgs()
379 ParseAttributeArgsCommon(AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseGNUAttributeArgs()
[all …]
/external/clang/lib/ARCMigrate/
DObjCMT.cpp275 SourceLocation EndLoc = Msg->getSelectorLoc(0); in rewriteToPropertyDotSyntax() local
276 SourceRange SpaceRange(BegLoc, EndLoc); in rewriteToPropertyDotSyntax()
305 SourceLocation EndLoc = RHS->getLocStart(); in rewriteToPropertyDotSyntax() local
306 EndLoc = EndLoc.getLocWithOffset(-1); in rewriteToPropertyDotSyntax()
307 const char *colon = PP.getSourceManager().getCharacterData(EndLoc); in rewriteToPropertyDotSyntax()
311 SourceRange Range(BegLoc, EndLoc); in rewriteToPropertyDotSyntax()
562 SourceLocation EndLoc = Setter->getDeclaratorEndLoc(); in rewriteToObjCProperty() local
564 EndLoc = EndLoc.getLocWithOffset(1); in rewriteToObjCProperty()
569 commit.remove(SourceRange(BeginOfSetterDclLoc, EndLoc)); in rewriteToObjCProperty()
678 SourceLocation EndLoc = in rewriteToObjCInterfaceDecl() local
[all …]
/external/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp53 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
76 bool matchSparcAsmModifiers(const MCExpr *&EVal, SMLoc &EndLoc);
150 SMLoc StartLoc, EndLoc; member in __anoncba7d3b40111::SparcOperand
234 return EndLoc; in getEndLoc()
295 Op->EndLoc = S; in CreateToken()
305 Op->EndLoc = E; in CreateReg()
314 Op->EndLoc = E; in CreateImm()
369 Op->EndLoc = E; in CreateMEMri()
426 ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) in ParseRegister() argument
430 EndLoc = Tok.getEndLoc(); in ParseRegister()
[all …]
/external/clang/lib/Lex/
DTokenLexer.cpp662 SourceLocation EndLoc = Tokens[CurToken - 1].getLocation(); in PasteTokens() local
672 if (EndLoc.isFileID()) in PasteTokens()
673 EndLoc = getExpansionLocForMacroDefLoc(EndLoc); in PasteTokens()
677 while (SM.getFileID(EndLoc) != MacroFID) in PasteTokens()
678 EndLoc = SM.getImmediateExpansionRange(EndLoc).second; in PasteTokens()
680 Tok.setLocation(SM.createExpansionLoc(Tok.getLocation(), StartLoc, EndLoc, in PasteTokens()
DPreprocessingRecord.cpp467 SourceLocation EndLoc; in InclusionDirective() local
469 EndLoc = FilenameRange.getBegin(); in InclusionDirective()
471 EndLoc = FilenameRange.getEnd(); in InclusionDirective()
473 EndLoc = EndLoc.getLocWithOffset(-1); // the InclusionDirective expects in InclusionDirective()
479 File, SourceRange(HashLoc, EndLoc)); in InclusionDirective()
/external/llvm/include/llvm/MC/MCParser/
DMCAsmParser.h170 virtual bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
178 virtual bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) = 0;
186 virtual bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
/external/clang/include/clang/Sema/
DDeclSpec.h979 SourceLocation EndLoc) { in setConversionFunctionId() argument
982 EndLocation = EndLoc; in setConversionFunctionId()
1011 SourceLocation EndLoc) { in setConstructorName() argument
1014 EndLocation = EndLoc; in setConstructorName()
1034 SourceLocation EndLoc) { in setDestructorName() argument
1037 EndLocation = EndLoc; in setDestructorName()
1071 SourceLocation EndLoc; member
1074 if (EndLoc.isInvalid()) in getSourceRange()
1076 return SourceRange(Loc, EndLoc); in getSourceRange()
1451 I.EndLoc = RBLoc; in getArray()
[all …]
DSema.h3069 SourceLocation EndLoc);
3193 SourceLocation EndLoc);
4742 SourceLocation EndLoc,
7033 SourceLocation EndLoc, // location of the ; or {.
7351 void PopPragmaVisibility(bool IsNamespaceEnd, SourceLocation EndLoc);
7447 SourceLocation EndLoc);
7453 SourceLocation EndLoc);
7458 SourceLocation EndLoc,
7464 SourceLocation EndLoc,
7470 SourceLocation EndLoc,
[all …]
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp226 bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) override;
227 bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) override;
228 bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) override;
322 bool parseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc);
323 bool parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc);
324 bool parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc);
733 bool AsmParser::parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseParenExpr() argument
738 EndLoc = Lexer.getTok().getEndLoc(); in parseParenExpr()
748 bool AsmParser::parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseBracketExpr() argument
753 EndLoc = Lexer.getTok().getEndLoc(); in parseBracketExpr()
[all …]
/external/llvm/lib/Target/R600/AsmParser/
DAMDGPUAsmParser.cpp48 SMLoc StartLoc, EndLoc; member in __anondcc3d2080111::AMDGPUOperand
237 return EndLoc; in getEndLoc()
250 Op->EndLoc = Loc; in CreateImm()
260 Res->EndLoc = Loc; in CreateToken()
272 Op->EndLoc = E; in CreateReg()
280 Op->EndLoc = S; in CreateExpr()
327 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
427 bool AMDGPUAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) { in ParseRegister() argument
430 EndLoc = Tok.getEndLoc(); in ParseRegister()
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp326 SMLoc &EndLoc);
366 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
420 SMLoc StartLoc, EndLoc, AlignmentLoc; member in __anonef5d38c20311::ARMOperand
567 EndLoc = o.EndLoc; in ARMOperand()
649 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
652 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); } in getLocRange()
2554 Op->EndLoc = S; in CreateITMask()
2563 Op->EndLoc = S; in CreateCondCode()
2571 Op->EndLoc = S; in CreateCoprocNum()
2579 Op->EndLoc = S; in CreateCoprocReg()
[all …]

123