HomeSort by: relevance | last modified time | path
    Searched refs:BeginLoc (Results 1 - 25 of 27) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/clang/include/clang/AST/
Availability.h 39 SourceLocation BeginLoc, EndLoc;
43 SourceLocation BeginLoc, SourceLocation EndLoc)
44 : Version(Version), Platform(Platform), BeginLoc(BeginLoc),
49 : BeginLoc(StarLoc), EndLoc(StarLoc) {}
53 SourceLocation getBeginLoc() const { return BeginLoc; }
DeclarationName.h 736 static DeclarationNameLoc makeCXXOperatorNameLoc(SourceLocation BeginLoc,
738 return makeCXXOperatorNameLoc(SourceRange(BeginLoc, EndLoc));
Expr.h 6342 SourceLocation BeginLoc, SourceLocation EndLoc,
6360 SourceLocation getBeginLoc() const { return BeginLoc; }
6368 RecoveryExpr(ASTContext &Ctx, QualType T, SourceLocation BeginLoc,
6375 SourceLocation BeginLoc, EndLoc;
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaModule.cpp 65 ModuleScopes.back().BeginLoc = ModuleLoc;
77 ModuleScopes.back().BeginLoc = ModuleLoc;
148 SourceLocation BeginLoc =
151 : ModuleScopes.back().BeginLoc;
152 if (BeginLoc.isValid()) {
153 Diag(BeginLoc, diag::note_global_module_introducer_missing)
154 << FixItHint::CreateInsertion(BeginLoc, "module;\n");
229 ModuleScopes.back().BeginLoc = StartLoc;
260 Diag(ModuleScopes.back().BeginLoc, diag::note_previous_definition);
269 Diag(ModuleScopes.back().BeginLoc,
    [all...]
SemaCast.cpp 1030 SourceLocation BeginLoc = OpRange.getBegin();
1031 Self.Diag(BeginLoc, diag::warn_reinterpret_different_from_static)
1034 Self.Diag(BeginLoc, diag::note_reinterpret_updowncast_use_static)
1036 << FixItHint::CreateReplacement(BeginLoc, "static_cast");
Sema.cpp 1122 Diag(ModuleScopes.back().BeginLoc,
SemaChecking.cpp 11177 SourceLocation BeginLoc = E->getBeginLoc();
11178 if (BeginLoc.isMacroID()) {
11180 BeginLoc, S.getSourceManager(), S.getLangOpts());
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/
RecursiveSymbolVisitor.h 140 bool visit(const NamedDecl *ND, SourceLocation BeginLoc,
143 ND, SourceRange(BeginLoc, EndLoc));
  /src/external/apache2/llvm/dist/clang/lib/Lex/
PreprocessingRecord.cpp 254 SourceLocation BeginLoc = Entity->getSourceRange().getBegin();
259 BeginLoc,
268 !SourceMgr.isBeforeInTranslationUnit(BeginLoc,
296 if (!SourceMgr.isBeforeInTranslationUnit(BeginLoc,
306 llvm::upper_bound(PreprocessedEntities, BeginLoc,
Pragma.cpp 1643 SourceLocation BeginLoc = Tok.getLocation();
1685 PP.Diag(BeginLoc, diag::note_pp_module_begin_here)
1691 PP.EnterSubmodule(M, BeginLoc, /*ForPragma*/true);
1692 PP.EnterAnnotationToken(SourceRange(BeginLoc, ModuleName.back().second),
1802 SourceLocation BeginLoc = PP.getPragmaARCCFCodeAuditedInfo().second;
1809 if (BeginLoc.isValid()) {
1811 PP.Diag(BeginLoc, diag::note_pragma_entered_here);
1816 if (!BeginLoc.isValid()) {
1857 SourceLocation BeginLoc = PP.getPragmaAssumeNonNullLoc();
1865 if (BeginLoc.isValid())
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Syntax/
Tokens.cpp 148 FileRange::FileRange(const SourceManager &SM, SourceLocation BeginLoc,
150 assert(BeginLoc.isValid());
151 assert(BeginLoc.isFileID());
153 std::tie(File, Begin) = SM.getDecomposedLoc(BeginLoc);
156 FileRange::FileRange(const SourceManager &SM, SourceLocation BeginLoc,
158 assert(BeginLoc.isValid());
159 assert(BeginLoc.isFileID());
162 assert(SM.getFileID(BeginLoc) == SM.getFileID(EndLoc));
163 assert(SM.getFileOffset(BeginLoc) <= SM.getFileOffset(EndLoc));
165 std::tie(File, Begin) = SM.getDecomposedLoc(BeginLoc);
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
USRLocFinder.cpp 89 const SourceLocation BeginLoc = Loc;
91 BeginLoc, 0, Context.getSourceManager(), Context.getLangOpts());
93 Lexer::getSourceText(CharSourceRange::getTokenRange(BeginLoc, EndLoc),
101 BeginLoc.getLocWithOffset(Offset));
322 // BeginLoc |EndLoc of the qualifier
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Syntax/
Tokens.h 55 /// EXPECTS: BeginLoc.isValid() && BeginLoc.isFileID().
56 FileRange(const SourceManager &SM, SourceLocation BeginLoc, unsigned Length);
57 /// EXPECTS: BeginLoc.isValid() && BeginLoc.isFileID(), Begin <= End and files
59 FileRange(const SourceManager &SM, SourceLocation BeginLoc,
  /src/external/apache2/llvm/dist/clang/lib/Parse/
Parser.cpp 1703 SourceLocation BeginLoc = NameLoc;
1705 BeginLoc = SS.getBeginLoc();
1729 Tok.setLocation(BeginLoc);
1972 SourceLocation BeginLoc = Tok.getLocation();
1974 BeginLoc = SS.getBeginLoc();
1999 Tok.setLocation(BeginLoc);
ParseExpr.cpp 3634 ExprResult Parser::ParseAvailabilityCheckExpr(SourceLocation BeginLoc) {
3668 return Actions.ActOnObjCAvailabilityCheckExpr(AvailSpecs, BeginLoc,
ParseOpenMP.cpp 1791 SourceLocation BeginLoc,
1804 Diag(BeginLoc, diag::note_matching)
ParseDecl.cpp 1573 SourceLocation BeginLoc = ConsumeBracket();
1578 Diag(BeginLoc, diag::err_attributes_not_allowed)
1579 << SourceRange(BeginLoc, EndLoc);
  /src/external/apache2/llvm/dist/clang/lib/Tooling/ASTDiff/
ASTDiff.cpp 997 SourceLocation BeginLoc = Range.getBegin();
1002 EndLoc = BeginLoc;
1004 unsigned Begin = SrcMgr.getFileOffset(SrcMgr.getExpansionLoc(BeginLoc));
  /src/external/apache2/llvm/dist/clang/lib/AST/
Stmt.cpp 714 // (BeginLoc, EndLoc) represents the range of the operand we are currently
716 SourceLocation BeginLoc = getAsmString()->getLocationOfByte(
723 Pieces.emplace_back(N, std::move(Str), BeginLoc, EndLoc);
750 // (BeginLoc, EndLoc) represents the range of the operand we are currently
752 SourceLocation BeginLoc = getAsmString()->getLocationOfByte(
759 Pieces.emplace_back(N, std::move(Str), BeginLoc, EndLoc);
Expr.cpp 4719 RecoveryExpr::RecoveryExpr(ASTContext &Ctx, QualType T, SourceLocation BeginLoc,
4724 BeginLoc(BeginLoc), EndLoc(EndLoc), NumExprs(SubExprs.size()) {
4733 SourceLocation BeginLoc,
4738 return new (Mem) RecoveryExpr(Ctx, T, BeginLoc, EndLoc, SubExprs);
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
BugReporterVisitors.cpp 2460 SourceLocation BeginLoc = OriginalExpr->getBeginLoc();
2462 if (BeginLoc.isMacroID() && EndLoc.isMacroID()) {
2465 if (Lexer::isAtStartOfMacroExpansion(BeginLoc, SM, LO) &&
2467 CharSourceRange R = Lexer::getAsCharRange({BeginLoc, EndLoc}, SM, LO);
  /src/external/apache2/llvm/dist/clang/tools/libclang/
CIndex.cpp 576 SourceLocation BeginLoc = RegionOfInterest.getBegin();
578 BeginLoc == RegionOfInterest.getEnd()) {
579 SourceLocation Loc = AU->mapLocationToPreamble(BeginLoc);
584 return Visit(cxcursor::MakeMacroExpansionCursor(MacroDef, BeginLoc, TU));
7638 SourceLocation BeginLoc = Tok.getLocation();
7681 MakePreprocessingDirectiveCursor(SourceRange(BeginLoc, EndLoc), TU);
  /src/external/apache2/llvm/dist/clang/lib/Serialization/
ASTReaderStmt.cpp 2189 E->BeginLoc = readSourceLocation();
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
Sema.h 2133 SourceLocation BeginLoc;
9679 SourceLocation BeginLoc, // location of the + or -.
  /src/external/apache2/llvm/dist/llvm/lib/AsmParser/
LLParser.cpp 2758 LocTy BeginLoc = Lex.getLoc();
2795 return error(BeginLoc, "operand bundle set must not be empty");

Completed in 130 milliseconds

1 2