Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/Lex/
HDPreprocessingRecord.cpp247 SourceLocation BeginLoc = Entity->getSourceRange().getBegin(); in addPreprocessedEntity() local
252 BeginLoc, in addPreprocessedEntity()
261 !SourceMgr.isBeforeInTranslationUnit(BeginLoc, in addPreprocessedEntity()
289 if (!SourceMgr.isBeforeInTranslationUnit(BeginLoc, in addPreprocessedEntity()
300 BeginLoc, in addPreprocessedEntity()
HDPragma.cpp1320 SourceLocation BeginLoc = PP.getPragmaARCCFCodeAuditedLoc(); in HandlePragma() local
1327 if (BeginLoc.isValid()) { in HandlePragma()
1329 PP.Diag(BeginLoc, diag::note_pragma_entered_here); in HandlePragma()
1334 if (!BeginLoc.isValid()) { in HandlePragma()
1374 SourceLocation BeginLoc = PP.getPragmaAssumeNonNullLoc(); in HandlePragma() local
1381 if (BeginLoc.isValid()) { in HandlePragma()
1383 PP.Diag(BeginLoc, diag::note_pragma_entered_here); in HandlePragma()
1388 if (!BeginLoc.isValid()) { in HandlePragma()
HDPPDirectives.cpp494 SourceLocation BeginLoc = ElseLoc.isValid() ? ElseLoc : IfTokenLoc; in SkipExcludedConditionalBlock() local
495 Callbacks->SourceRangeSkipped(SourceRange(BeginLoc, Tok.getLocation())); in SkipExcludedConditionalBlock()
/NextBSD/contrib/llvm/tools/clang/lib/Parse/
HDParser.cpp1421 SourceLocation BeginLoc = NameLoc; in TryAnnotateName() local
1423 BeginLoc = SS.getBeginLoc(); in TryAnnotateName()
1445 Tok.setLocation(BeginLoc); in TryAnnotateName()
1656 SourceLocation BeginLoc = Tok.getLocation(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec() local
1658 BeginLoc = SS.getBeginLoc(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1681 Tok.setLocation(BeginLoc); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
HDParseDecl.cpp1346 SourceLocation BeginLoc = ConsumeBracket(); in DiagnoseProhibitedCXX11Attribute() local
1351 Diag(BeginLoc, diag::err_attributes_not_allowed) in DiagnoseProhibitedCXX11Attribute()
1352 << SourceRange(BeginLoc, EndLoc); in DiagnoseProhibitedCXX11Attribute()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaCast.cpp826 SourceLocation BeginLoc = OpRange.getBegin(); in DiagnoseReinterpretUpDownCast() local
827 Self.Diag(BeginLoc, diag::warn_reinterpret_different_from_static) in DiagnoseReinterpretUpDownCast()
830 Self.Diag(BeginLoc, diag::note_reinterpret_updowncast_use_static) in DiagnoseReinterpretUpDownCast()
832 << FixItHint::CreateReplacement(BeginLoc, "static_cast"); in DiagnoseReinterpretUpDownCast()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDStmt.cpp590 SourceLocation BeginLoc = in AnalyzeAsmString() local
595 Pieces.emplace_back(N, std::move(Str), BeginLoc, EndLoc); in AnalyzeAsmString()
624 SourceLocation BeginLoc = in AnalyzeAsmString() local
629 Pieces.emplace_back(N, std::move(Str), BeginLoc, EndLoc); in AnalyzeAsmString()
/NextBSD/contrib/llvm/tools/clang/lib/Serialization/
HDASTReader.cpp6272 BeginLoc = SM.getLocForStartOfFile(File).getLocWithOffset(Offset); in FindFileRegionDecls() local
6273 SourceLocation EndLoc = BeginLoc.getLocWithOffset(Length); in FindFileRegionDecls()
6278 BeginLoc, DIDComp); in FindFileRegionDecls()
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDSema.h7308 SourceLocation BeginLoc, // location of the + or -.