Home
last modified time | relevance | path

Searched refs:BeginLoc (Results 1 – 14 of 14) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DAvailability.h40 SourceLocation BeginLoc, EndLoc; variable
44 SourceLocation BeginLoc, SourceLocation EndLoc) in AvailabilitySpec() argument
45 : Version(Version), Platform(Platform), BeginLoc(BeginLoc), in AvailabilitySpec()
50 : BeginLoc(StarLoc), EndLoc(StarLoc) {} in AvailabilitySpec()
54 SourceLocation getBeginLoc() const { return BeginLoc; } in getBeginLoc()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DPreprocessingRecord.cpp258 SourceLocation BeginLoc = Entity->getSourceRange().getBegin(); in addPreprocessedEntity() local
263 BeginLoc, in addPreprocessedEntity()
272 !SourceMgr.isBeforeInTranslationUnit(BeginLoc, in addPreprocessedEntity()
300 if (!SourceMgr.isBeforeInTranslationUnit(BeginLoc, in addPreprocessedEntity()
311 BeginLoc, in addPreprocessedEntity()
H A DPragma.cpp1514 SourceLocation BeginLoc = Tok.getLocation(); in HandlePragma() local
1557 PP.Diag(BeginLoc, diag::note_pp_module_begin_here) in HandlePragma()
1563 PP.EnterSubmodule(M, BeginLoc, /*ForPragma*/true); in HandlePragma()
1674 SourceLocation BeginLoc = PP.getPragmaARCCFCodeAuditedLoc(); in HandlePragma() local
1681 if (BeginLoc.isValid()) { in HandlePragma()
1683 PP.Diag(BeginLoc, diag::note_pragma_entered_here); in HandlePragma()
1688 if (!BeginLoc.isValid()) { in HandlePragma()
1729 SourceLocation BeginLoc = PP.getPragmaAssumeNonNullLoc(); in HandlePragma() local
1737 if (BeginLoc.isValid()) { in HandlePragma()
1739 PP.Diag(BeginLoc, diag::note_pragma_entered_here); in HandlePragma()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h120 bool visit(const NamedDecl *ND, SourceLocation BeginLoc, in visit() argument
123 ND, SourceRange(BeginLoc, EndLoc)); in visit()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp89 const SourceLocation BeginLoc = Loc; in checkAndAddLocation() local
91 BeginLoc, 0, Context.getSourceManager(), Context.getLangOpts()); in checkAndAddLocation()
93 Lexer::getSourceText(CharSourceRange::getTokenRange(BeginLoc, EndLoc), in checkAndAddLocation()
101 BeginLoc.getLocWithOffset(Offset)); in checkAndAddLocation()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParser.cpp1550 SourceLocation BeginLoc = NameLoc; in TryAnnotateName() local
1552 BeginLoc = SS.getBeginLoc(); in TryAnnotateName()
1576 Tok.setLocation(BeginLoc); in TryAnnotateName()
1778 SourceLocation BeginLoc = Tok.getLocation(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec() local
1780 BeginLoc = SS.getBeginLoc(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1805 Tok.setLocation(BeginLoc); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
H A DParseExpr.cpp3144 ExprResult Parser::ParseAvailabilityCheckExpr(SourceLocation BeginLoc) { in ParseAvailabilityCheckExpr() argument
3178 return Actions.ActOnObjCAvailabilityCheckExpr(AvailSpecs, BeginLoc, in ParseAvailabilityCheckExpr()
H A DParseDecl.cpp1570 SourceLocation BeginLoc = ConsumeBracket(); in DiagnoseProhibitedCXX11Attribute() local
1575 Diag(BeginLoc, diag::err_attributes_not_allowed) in DiagnoseProhibitedCXX11Attribute()
1576 << SourceRange(BeginLoc, EndLoc); in DiagnoseProhibitedCXX11Attribute()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DStmt.cpp637 SourceLocation BeginLoc = getAsmString()->getLocationOfByte( in AnalyzeAsmString() local
644 Pieces.emplace_back(N, std::move(Str), BeginLoc, EndLoc); in AnalyzeAsmString()
673 SourceLocation BeginLoc = getAsmString()->getLocationOfByte( in AnalyzeAsmString() local
680 Pieces.emplace_back(N, std::move(Str), BeginLoc, EndLoc); in AnalyzeAsmString()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp999 SourceLocation BeginLoc = Range.getBegin(); in getSourceRangeOffsets() local
1004 EndLoc = BeginLoc; in getSourceRangeOffsets()
1006 unsigned Begin = SrcMgr.getFileOffset(SrcMgr.getExpansionLoc(BeginLoc)); in getSourceRangeOffsets()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaCast.cpp933 SourceLocation BeginLoc = OpRange.getBegin(); in DiagnoseReinterpretUpDownCast() local
934 Self.Diag(BeginLoc, diag::warn_reinterpret_different_from_static) in DiagnoseReinterpretUpDownCast()
937 Self.Diag(BeginLoc, diag::note_reinterpret_updowncast_use_static) in DiagnoseReinterpretUpDownCast()
939 << FixItHint::CreateReplacement(BeginLoc, "static_cast"); in DiagnoseReinterpretUpDownCast()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReader.cpp7499 BeginLoc = SM.getLocForStartOfFile(File).getLocWithOffset(Offset); in FindFileRegionDecls() local
7500 SourceLocation EndLoc = BeginLoc.getLocWithOffset(Length); in FindFileRegionDecls()
7505 BeginLoc, DIDComp); in FindFileRegionDecls()
/freebsd-12.1/contrib/llvm/lib/AsmParser/
H A DLLParser.cpp2431 LocTy BeginLoc = Lex.getLoc(); in ParseOptionalOperandBundles() local
2468 return Error(BeginLoc, "operand bundle set must not be empty"); in ParseOptionalOperandBundles()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h8180 SourceLocation BeginLoc, // location of the + or -.