/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaDeclCXX.cpp | 252 if (RequireCompleteType(Param->getLocation(), Param->getType(), 266 InitializationKind Kind = InitializationKind::CreateCopy(Param->getLocation(), 403 SR = SourceRange((*Toks)[1].getLocation(), 404 Toks->back().getLocation()); 407 Diag(Param->getLocation(), diag::err_param_default_argument_nonfunc) 410 Diag(Param->getLocation(), diag::err_param_default_argument_nonfunc) 537 Diag(NewParam->getLocation(), DiagDefaultParamID) 548 Diag(OldParam->getLocation(), diag::note_previous_definition) 571 Diag(NewParam->getLocation(), 574 Diag(PrevForDefaultArgs->getLocation(), [all...] |
H A D | SemaCUDA.cpp | 331 Diag(ClassDecl->getLocation(), 375 Diag(ClassDecl->getLocation(), 501 isEmptyCudaConstructor(VD->getLocation(), CE->getConstructor()); 514 isEmptyCudaDestructor(VD->getLocation(), RD->getDestructor()); 517 Diag(VD->getLocation(), VD->hasAttr<CUDASharedAttr>() 535 Diag(VD->getLocation(), diag::err_ref_bad_target_global_initializer) 537 Diag(InitFn->getLocation(), diag::note_previous_decl) << InitFn; 591 if (!getSourceManager().isInSystemHeader(Match->getLocation())) { 592 Diag(NewD->getLocation(), 595 Diag(Match->getLocation(), [all...] |
H A D | SemaTemplate.cpp | 548 Diag(ExampleLookupResult->getUnderlyingDecl()->getLocation(), 595 Diag(Found.getRepresentativeDecl()->getLocation(), 598 Diag(FoundOuter.getFoundDecl()->getLocation(), 700 Diag(Found->getLocation(), 709 Diag(Found->getLocation(), diag::note_non_template_in_template_id_found); 860 Diag(Pattern->getLocation(), Note.getValue()); 886 Diag(PrevDecl->getLocation(), diag::note_template_param_here); 919 DI = SemaRef.Context.getTrivialTypeSourceInfo(T, Arg.getLocation()); 938 Arg.getLocation(), 1204 ParamAsArgument, ConstrainedParameter->getLocation(), [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/ |
H A D | MacroInfo.cpp | 47 SourceLocation macroStart = firstToken.getLocation(); 48 SourceLocation macroEnd = lastToken.getLocation(); 188 UndefLoc = UndefMD->getLocation(); 206 if (Def.getLocation().isInvalid() || // For macros defined on the command line. 207 SM.isBeforeInTranslationUnit(Def.getLocation(), L))
|
H A D | ModuleMap.cpp | 1366 SourceLocation getLocation() const { function in struct:clang::MMToken 1476 SourceLocation getLocation() { return Tok.getLocation(); } function in class:clang::ModuleMapParser 1482 SourceLocation Result = Tok.getLocation(); 1488 Tok.Location = LToken.getLocation().getRawEncoding(); 1553 Diags.Report(LToken.getLocation(), diag::err_invalid_string_udl); 1586 Diags.Report(Tok.getLocation(), diag::err_mmap_unknown_token); 1619 Diags.Report(Tok.getLocation(), diag::err_mmap_unknown_token); 1684 Id.push_back(std::make_pair(Tok.getString(), Tok.getLocation())); 1687 Diags.Report(Tok.getLocation(), dia [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexDecl.cpp | 142 // getLocation() returns beginning token of a method declaration, but for 146 MethodLoc = D->getLocation(); 252 IndexCtx.handleReference(Ctor->getParent(), Ctor->getLocation(), 275 Guide->getLocation(), Guide, 363 return IndexCtx.handleDecl(D, D->getLocation(), SymbolRoleSet(), 412 return IndexCtx.handleReference(D, D->getLocation(), nullptr, 425 return IndexCtx.handleReference(D, D->getLocation(), nullptr, 445 if (I->getLocation().isInvalid()) 450 cast<ObjCPropertyImplDecl>(I)->getLocation().isValid()) 463 TRY_TO(IndexCtx.handleReference(C, D->getLocation(), [all...] |
H A D | FileIndexRecord.cpp | 48 SourceLocation Loc = SM.getFileLoc(D->getLocation());
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | AnalyzerStatsChecker.cpp | 49 const LocationContext *LC = GraphRoot->getLocation().getLocationContext(); 56 const ProgramPoint &P = I->getLocation(); 92 PresumedLoc Loc = SM.getPresumedLoc(D->getLocation());
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | LogDiagnosticPrinter.cpp | 142 if (Info.getLocation().isValid() && Info.hasSourceManager()) { 144 PresumedLoc PLoc = SM.getPresumedLoc(Info.getLocation()); 148 FileID FID = SM.getFileID(Info.getLocation());
|
H A D | TextDiagnosticPrinter.cpp | 135 if (!Info.getLocation().isValid()) { 153 FullSourceLoc(Info.getLocation(), Info.getSourceManager()), Level,
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseAST.cpp | 65 if (Tok.getLocation().isInvalid()) { 71 Tok.getLocation().print(OS, PP.getSourceManager()); 80 const char *Spelling = SM.getCharacterData(Tok.getLocation(), &Invalid);
|
H A D | ParseInit.cpp | 197 Diag(Tok.getLocation(), diag::err_expected_field_designator); 202 Tok.getLocation())); 274 SourceLocation IILoc = Tok.getLocation(); 344 CheckArrayDesignatorSyntax(*this, Tok.getLocation(), Desig); 401 << FixItHint::CreateInsertion(Tok.getLocation(), "= "); 402 return Actions.ActOnDesignatedInitializer(Desig, Tok.getLocation(),
|
H A D | ParseExpr.cpp | 163 PreferredType.get(Tok.getLocation())); 466 SourceLocation BraceLoc = Tok.getLocation(); 501 SourceLocation FILoc = Tok.getLocation(); 522 ColonLoc = Tok.getLocation(); 526 PreferredType.enterBinary(Actions, Tok.getLocation(), LHS.get(), 623 SuggestParentheses(OpToken.getLocation(), 628 LHS = Actions.ActOnBinOp(getCurScope(), OpToken.getLocation(), 632 LHS = Actions.ActOnConditionalOp(OpToken.getLocation(), ColonLoc, 1251 Res = Actions.ActOnPredefinedExpr(Tok.getLocation(), SavedKind); 1265 return ParseAvailabilityCheckExpr(Tok.getLocation()); [all...] |
H A D | ParseExprCXX.cpp | 46 SourceLocation FirstLoc = SM.getSpellingLoc(First.getLocation()); 48 return FirstEnd == SM.getSpellingLoc(Second.getLocation()); 60 Range.setBegin(DigraphToken.getLocation()); 61 Range.setEnd(ColonToken.getLocation()); 62 P.Diag(DigraphToken.getLocation(), diag::err_missing_whitespace_digraph) 68 ColonToken.setLocation(ColonToken.getLocation().getLocWithOffset(-1)); 93 TemplateName.setIdentifier(&II, Tok.getLocation()); 204 Diag(Tok.getLocation(), diag::err_expected_coloncolon_after_super); 214 SourceLocation DeclLoc = Tok.getLocation(); 246 SS.setEndLoc(Tok.getLocation()); [all...] |
H A D | ParseOpenMP.cpp | 232 P.Diag(Tok.getLocation(), diag::err_omp_expected_reduction_identifier); 277 Diag(Tok.getLocation(), diag::err_expected_type); 310 Diag(Tok.getLocation(), diag::err_expected_type); 329 Diag(Tok.getLocation(), diag::err_expected_expression); 347 ParseExpression().get(), D->getLocation(), /*DiscardedValue*/ false); 364 Diag(Tok.getLocation(), diag::err_expected) << "'initializer'"; 390 ParseAssignmentExpression().get(), D->getLocation(), 431 PreferredType.enterVariableInit(Tok.getLocation(), OmpPrivParm); 453 OmpPrivParm->getLocation(), Exprs, LParLoc); 458 PreferredType.enterFunctionArgument(Tok.getLocation(), [all...] |
H A D | ParseDeclCXX.cpp | 79 Diag(Tok.getLocation(), getLangOpts().CPlusPlus17 83 attrLoc = Tok.getLocation(); 117 attrLoc = Tok.getLocation(); 198 << FixItHint::CreateInsertion(rBraceToken.getLocation(), RBraces); 318 DeclEnd = Tok.getLocation(); 343 Tok.is(tok::l_brace) ? Tok.getLocation() : SourceLocation()); 423 Tok.is(tok::l_brace) ? Tok.getLocation() : SourceLocation()); 442 << SourceRange(ExportLoc, Tok.getLocation()); 570 DeclEnd = Tok.getLocation(); 594 Diag(Tok.getLocation(), dia [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/ |
H A D | RecursiveSymbolVisitor.h | 44 return isa<CXXConversionDecl>(D) ? true : visit(D, D->getLocation()); 65 return visit(Expr->getFoundDecl(), Expr->getLocation());
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | PlistReporter.cpp | 49 AddFID(FM, Fids, SM, D.getLocation()); 102 EmitLocation(o, SM, D.getLocation(), FM, 2);
|
H A D | Transforms.cpp | 161 return findSemiAfterLocation(tok.getLocation(), Ctx, /*IsDecl*/true); 164 return tok.getLocation(); 425 Pass.TA.replaceText(tok.getLocation(), fromAttr, toAttr); 429 AttrLoc = tok.getLocation(); 447 Pass.TA.remove(SourceRange(BeforeTok.getLocation(), 448 AfterTok.getLocation())); 450 Pass.TA.remove(SourceRange(AttrLoc, AfterTok.getLocation())); 452 Pass.TA.remove(SourceRange(BeforeTok.getLocation(), AttrLoc)); 493 Pass.TA.insert(tok.getLocation(), std::string("(") + attr.str() + ") "); 499 Pass.TA.insert(tok.getLocation(), att [all...] |
H A D | TransGCCalls.cpp | 61 "receives in ARC", DRE->getLocation(),
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | StatepointLowering.h | 52 SDValue getLocation(SDValue Val) { function in class:llvm::StatepointLoweringState
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | LambdaCapture.h | 125 SourceLocation getLocation() const { return Loc; } function in class:clang::LambdaCapture
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | Token.h | 126 SourceLocation getLocation() const { function in class:clang::Token 150 return isAnnotation() ? getAnnotationEndLoc() : getLocation(); 155 : getLocation().getLocWithOffset(getLength()); 161 return SourceRange(getLocation(), getAnnotationEndLoc());
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | WorkList.cpp | 101 if (U.getNode()->getLocation().getAs<BlockEntrance>()) 151 auto BE = N->getLocation().getAs<BlockEntrance>(); 233 if (auto BE = N->getLocation().getAs<BlockEntrance>()) { 295 if (auto BE = N->getLocation().getAs<BlockEntrance>())
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | FixItRewriter.cpp | 177 Diag(Info.getLocation(), diag::note_fixit_in_macro); 182 Diag(Info.getLocation(), diag::note_fixit_unfixed_error); 189 Diag(Info.getLocation(), diag::note_fixit_failed); 193 Diag(Info.getLocation(), diag::note_fixit_applied);
|