Searched defs:BeginLoc (Results 1 - 8 of 8) sorted by relevance

/external/clang/lib/Lex/
H A DPreprocessingRecord.cpp247 SourceLocation BeginLoc = Entity->getSourceRange().getBegin(); local
252 BeginLoc,
261 !SourceMgr.isBeforeInTranslationUnit(BeginLoc,
289 if (!SourceMgr.isBeforeInTranslationUnit(BeginLoc,
300 BeginLoc,
H A DPragma.cpp1350 SourceLocation BeginLoc = PP.getPragmaARCCFCodeAuditedLoc(); local
1357 if (BeginLoc.isValid()) {
1359 PP.Diag(BeginLoc, diag::note_pragma_entered_here);
1364 if (!BeginLoc.isValid()) {
1404 SourceLocation BeginLoc = PP.getPragmaAssumeNonNullLoc(); local
1411 if (BeginLoc.isValid()) {
1413 PP.Diag(BeginLoc, diag::note_pragma_entered_here);
1418 if (!BeginLoc.isValid()) {
H A DPPDirectives.cpp575 SourceLocation BeginLoc = ElseLoc.isValid() ? ElseLoc : IfTokenLoc; local
576 Callbacks->SourceRangeSkipped(SourceRange(BeginLoc, Tok.getLocation()));
/external/clang/lib/AST/
H A DStmt.cpp593 // (BeginLoc, EndLoc) represents the range of the operand we are currently
595 SourceLocation BeginLoc = getAsmString()->getLocationOfByte( local
602 Pieces.emplace_back(N, std::move(Str), BeginLoc, EndLoc);
629 // (BeginLoc, EndLoc) represents the range of the operand we are currently
631 SourceLocation BeginLoc = getAsmString()->getLocationOfByte( local
638 Pieces.emplace_back(N, std::move(Str), BeginLoc, EndLoc);
/external/clang/lib/Parse/
H A DParser.cpp1479 SourceLocation BeginLoc = NameLoc; local
1481 BeginLoc = SS.getBeginLoc();
1503 Tok.setLocation(BeginLoc);
1711 SourceLocation BeginLoc = Tok.getLocation(); local
1713 BeginLoc = SS.getBeginLoc();
1736 Tok.setLocation(BeginLoc);
H A DParseDecl.cpp1374 SourceLocation BeginLoc = ConsumeBracket(); local
1379 Diag(BeginLoc, diag::err_attributes_not_allowed)
1380 << SourceRange(BeginLoc, EndLoc);
/external/clang/lib/Sema/
H A DSemaCast.cpp828 SourceLocation BeginLoc = OpRange.getBegin(); local
829 Self.Diag(BeginLoc, diag::warn_reinterpret_different_from_static)
832 Self.Diag(BeginLoc, diag::note_reinterpret_updowncast_use_static)
834 << FixItHint::CreateReplacement(BeginLoc, "static_cast");
/external/clang/tools/libclang/
H A DCIndex.cpp565 SourceLocation BeginLoc = RegionOfInterest.getBegin(); local
567 BeginLoc == RegionOfInterest.getEnd()) {
568 SourceLocation Loc = AU->mapLocationToPreamble(BeginLoc);
573 return Visit(cxcursor::MakeMacroExpansionCursor(MacroDef, BeginLoc, TU));
6653 SourceLocation BeginLoc = Tok.getLocation();
6696 MakePreprocessingDirectiveCursor(SourceRange(BeginLoc, EndLoc), TU);

Completed in 221 milliseconds