Home
last modified time | relevance | path

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

/external/clang/lib/Lex/
DPreprocessingRecord.cpp247 SourceLocation BeginLoc = Entity->getSourceRange().getBegin(); in addPreprocessedEntity() local
251 !SourceMgr.isBeforeInTranslationUnit(BeginLoc, in addPreprocessedEntity()
260 !SourceMgr.isBeforeInTranslationUnit(BeginLoc, in addPreprocessedEntity()
288 if (!SourceMgr.isBeforeInTranslationUnit(BeginLoc, in addPreprocessedEntity()
299 BeginLoc, in addPreprocessedEntity()
DPragma.cpp1301 SourceLocation BeginLoc = PP.getPragmaARCCFCodeAuditedLoc(); in HandlePragma() local
1308 if (BeginLoc.isValid()) { in HandlePragma()
1310 PP.Diag(BeginLoc, diag::note_pragma_entered_here); in HandlePragma()
1315 if (!BeginLoc.isValid()) { in HandlePragma()
DPPDirectives.cpp504 SourceLocation BeginLoc = ElseLoc.isValid() ? ElseLoc : IfTokenLoc; in SkipExcludedConditionalBlock() local
505 Callbacks->SourceRangeSkipped(SourceRange(BeginLoc, Tok.getLocation())); in SkipExcludedConditionalBlock()
/external/clang/lib/Sema/
DSemaCast.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()
/external/clang/lib/AST/
DStmt.cpp590 SourceLocation BeginLoc = in AnalyzeAsmString() local
595 Pieces.push_back(AsmStringPiece(N, Str, BeginLoc, EndLoc)); in AnalyzeAsmString()
624 SourceLocation BeginLoc = in AnalyzeAsmString() local
629 Pieces.push_back(AsmStringPiece(N, Str, BeginLoc, EndLoc)); in AnalyzeAsmString()
/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()
6038 SourceLocation BeginLoc = Tok.getLocation(); in annotatePreprocessorTokens() local
6080 MakePreprocessingDirectiveCursor(SourceRange(BeginLoc, EndLoc), TU); in annotatePreprocessorTokens()
/external/clang/lib/Parse/
DParseDecl.cpp1315 SourceLocation BeginLoc = ConsumeBracket(); in DiagnoseProhibitedCXX11Attribute() local
1320 Diag(BeginLoc, diag::err_attributes_not_allowed) in DiagnoseProhibitedCXX11Attribute()
1321 << SourceRange(BeginLoc, EndLoc); in DiagnoseProhibitedCXX11Attribute()
/external/clang/lib/Serialization/
DASTReader.cpp6554 BeginLoc = SM.getLocForStartOfFile(File).getLocWithOffset(Offset); in FindFileRegionDecls() local
6555 SourceLocation EndLoc = BeginLoc.getLocWithOffset(Length); in FindFileRegionDecls()
6560 BeginLoc, DIDComp); in FindFileRegionDecls()
/external/clang/include/clang/Sema/
DSema.h7032 SourceLocation BeginLoc, // location of the + or -.