Searched refs:getLocation (Results 26 - 50 of 278) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp252 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 DSemaCUDA.cpp331 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 DSemaTemplate.cpp548 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 DMacroInfo.cpp47 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 DModuleMap.cpp1366 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 DIndexDecl.cpp142 // 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 DFileIndexRecord.cpp48 SourceLocation Loc = SM.getFileLoc(D->getLocation());
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DAnalyzerStatsChecker.cpp49 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 DLogDiagnosticPrinter.cpp142 if (Info.getLocation().isValid() && Info.hasSourceManager()) {
144 PresumedLoc PLoc = SM.getPresumedLoc(Info.getLocation());
148 FileID FID = SM.getFileID(Info.getLocation());
H A DTextDiagnosticPrinter.cpp135 if (!Info.getLocation().isValid()) {
153 FullSourceLoc(Info.getLocation(), Info.getSourceManager()), Level,
/freebsd-11-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseAST.cpp65 if (Tok.getLocation().isInvalid()) {
71 Tok.getLocation().print(OS, PP.getSourceManager());
80 const char *Spelling = SM.getCharacterData(Tok.getLocation(), &Invalid);
H A DParseInit.cpp197 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 DParseExpr.cpp163 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 DParseExprCXX.cpp46 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 DParseOpenMP.cpp232 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 DParseDeclCXX.cpp79 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 DRecursiveSymbolVisitor.h44 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 DPlistReporter.cpp49 AddFID(FM, Fids, SM, D.getLocation());
102 EmitLocation(o, SM, D.getLocation(), FM, 2);
H A DTransforms.cpp161 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 DTransGCCalls.cpp61 "receives in ARC", DRE->getLocation(),
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.h52 SDValue getLocation(SDValue Val) { function in class:llvm::StatepointLoweringState
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DLambdaCapture.h125 SourceLocation getLocation() const { return Loc; } function in class:clang::LambdaCapture
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DToken.h126 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 DWorkList.cpp101 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 DFixItRewriter.cpp177 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);

Completed in 402 milliseconds

1234567891011>>