Home
last modified time | relevance | path

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

/external/clang/lib/Lex/
DPreprocessingRecord.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()
DPragma.cpp1350 SourceLocation BeginLoc = PP.getPragmaARCCFCodeAuditedLoc(); in HandlePragma() local
1357 if (BeginLoc.isValid()) { in HandlePragma()
1359 PP.Diag(BeginLoc, diag::note_pragma_entered_here); in HandlePragma()
1364 if (!BeginLoc.isValid()) { in HandlePragma()
1404 SourceLocation BeginLoc = PP.getPragmaAssumeNonNullLoc(); in HandlePragma() local
1411 if (BeginLoc.isValid()) { in HandlePragma()
1413 PP.Diag(BeginLoc, diag::note_pragma_entered_here); in HandlePragma()
1418 if (!BeginLoc.isValid()) { in HandlePragma()
DPPDirectives.cpp575 SourceLocation BeginLoc = ElseLoc.isValid() ? ElseLoc : IfTokenLoc; in SkipExcludedConditionalBlock() local
576 Callbacks->SourceRangeSkipped(SourceRange(BeginLoc, Tok.getLocation())); in SkipExcludedConditionalBlock()
/external/clang/lib/Parse/
DParser.cpp1479 SourceLocation BeginLoc = NameLoc; in TryAnnotateName() local
1481 BeginLoc = SS.getBeginLoc(); in TryAnnotateName()
1503 Tok.setLocation(BeginLoc); in TryAnnotateName()
1711 SourceLocation BeginLoc = Tok.getLocation(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec() local
1713 BeginLoc = SS.getBeginLoc(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1736 Tok.setLocation(BeginLoc); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
DParseDecl.cpp1374 SourceLocation BeginLoc = ConsumeBracket(); in DiagnoseProhibitedCXX11Attribute() local
1379 Diag(BeginLoc, diag::err_attributes_not_allowed) in DiagnoseProhibitedCXX11Attribute()
1380 << SourceRange(BeginLoc, EndLoc); in DiagnoseProhibitedCXX11Attribute()
/external/clang/lib/AST/
DStmt.cpp595 SourceLocation BeginLoc = getAsmString()->getLocationOfByte( in AnalyzeAsmString() local
602 Pieces.emplace_back(N, std::move(Str), BeginLoc, EndLoc); in AnalyzeAsmString()
631 SourceLocation BeginLoc = getAsmString()->getLocationOfByte( in AnalyzeAsmString() local
638 Pieces.emplace_back(N, std::move(Str), BeginLoc, EndLoc); in AnalyzeAsmString()
/external/clang/lib/Sema/
DSemaCast.cpp828 SourceLocation BeginLoc = OpRange.getBegin(); in DiagnoseReinterpretUpDownCast() local
829 Self.Diag(BeginLoc, diag::warn_reinterpret_different_from_static) in DiagnoseReinterpretUpDownCast()
832 Self.Diag(BeginLoc, diag::note_reinterpret_updowncast_use_static) in DiagnoseReinterpretUpDownCast()
834 << FixItHint::CreateReplacement(BeginLoc, "static_cast"); in DiagnoseReinterpretUpDownCast()
/external/clang/tools/libclang/
DCIndex.cpp565 SourceLocation BeginLoc = RegionOfInterest.getBegin(); in VisitChildren() local
567 BeginLoc == RegionOfInterest.getEnd()) { in VisitChildren()
568 SourceLocation Loc = AU->mapLocationToPreamble(BeginLoc); in VisitChildren()
573 return Visit(cxcursor::MakeMacroExpansionCursor(MacroDef, BeginLoc, TU)); in VisitChildren()
6653 SourceLocation BeginLoc = Tok.getLocation(); in annotatePreprocessorTokens() local
6696 MakePreprocessingDirectiveCursor(SourceRange(BeginLoc, EndLoc), TU); in annotatePreprocessorTokens()
/external/clang/lib/Serialization/
DASTReader.cpp6610 BeginLoc = SM.getLocForStartOfFile(File).getLocWithOffset(Offset); in FindFileRegionDecls() local
6611 SourceLocation EndLoc = BeginLoc.getLocWithOffset(Length); in FindFileRegionDecls()
6616 BeginLoc, DIDComp); in FindFileRegionDecls()
/external/llvm/lib/AsmParser/
DLLParser.cpp2142 LocTy BeginLoc = Lex.getLoc(); in ParseOptionalOperandBundles() local
2179 return Error(BeginLoc, "operand bundle set must not be empty"); in ParseOptionalOperandBundles()
/external/clang/include/clang/Sema/
DSema.h7544 SourceLocation BeginLoc, // location of the + or -.