Home
last modified time | relevance | path

Searched refs:getTypeSpecStartLoc (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/darwin/
H A DDispatchOnceNonstaticCheck.cpp43 diag(PD->getTypeSpecStartLoc(), in check()
47 diag(VD->getTypeSpecStartLoc(), "dispatch_once_t variables must have " in check()
49 << FixItHint::CreateInsertion(VD->getTypeSpecStartLoc(), "static "); in check()
54 diag(D->getTypeSpecStartLoc(), in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DFixItHintUtils.cpp88 return fixIfNotDangerous(Var.getTypeSpecStartLoc(), in changeValue()
128 return fixIfNotDangerous(Var.getTypeSpecStartLoc(), in changePointer()
170 return fixIfNotDangerous(Var.getTypeSpecStartLoc(), in changeReferencee()
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/
H A DClangTidyDiagnosticConsumerTest.cpp23 diag(Var->getTypeSpecStartLoc(), "type specifier"); in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DQualifiedAutoCheck.cpp66 Var->getTypeSpecStartLoc(), in getTypeSpecifierLocation()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp2205 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteTypeOfDecl()
2296 SourceLocation FunLocStart = FD->getTypeSpecStartLoc(); in RewriteBlockLiteralFunctionDecl()
3620 SourceLocation FunLocStart = FD->getTypeSpecStartLoc(); in InsertBlockLiteralsWithinFunction()
4172 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteByRefVar()
4208 FunLocStart = CurFunctionDef->getTypeSpecStartLoc(); in RewriteByRefVar()
4871 SynthesizeBlockLiterals(VD->getTypeSpecStartLoc(), VD->getName()); in HandleDeclInMainFile()
H A DRewriteModernObjC.cpp2292 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteTypeOfDecl()
2383 SourceLocation FunLocStart = FD->getTypeSpecStartLoc(); in RewriteBlockLiteralFunctionDecl()
3054 return FD->getTypeSpecStartLoc(); in getFunctionSourceLocation()
4434 : FD->getTypeSpecStartLoc(); in InsertBlockLiteralsWithinFunction()
5016 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteByRefVar()
5772 SynthesizeBlockLiterals(VD->getTypeSpecStartLoc(), VD->getName()); in HandleDeclInMainFile()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaStmt.cpp4514 Diag(H->getExceptionDecl()->getTypeSpecStartLoc(), in ActOnCXXTryBlock()
4517 Diag(Problem->getExceptionDecl()->getTypeSpecStartLoc(), in ActOnCXXTryBlock()
4529 Diag(H->getExceptionDecl()->getTypeSpecStartLoc(), in ActOnCXXTryBlock()
4532 Diag(Problem->getExceptionDecl()->getTypeSpecStartLoc(), in ActOnCXXTryBlock()
H A DSemaTemplateInstantiateDecl.cpp1104 D->getTypeSourceInfo(), TemplateArgs, D->getTypeSpecStartLoc(), in VisitVarDecl()
3854 D->getTypeSpecStartLoc(), D->getDeclName()); in VisitVarTemplateSpecializationDecl()
4277 PartialSpec->getTypeSpecStartLoc(), PartialSpec->getDeclName()); in InstantiateVarTemplatePartialSpecialization()
4331 D->getTypeSpecStartLoc(), in SubstFunctionType()
5159 PatternDecl->getTypeSpecStartLoc(), PatternDecl->getDeclName()); in CompleteVarTemplateSpecializationDecl()
H A DSemaDecl.cpp8852 SourceLocation Loc = FDParam->getTypeSpecStartLoc(); in DiagnoseInvalidRedeclaration()
10456 Diag(Param->getTypeSpecStartLoc(), diag::err_reference_pipe_type ); in ActOnFunctionDeclarator()
11680 Diag(FD->getTypeSpecStartLoc(), diag::ext_main_returns_nonint); in CheckMain()
11697 Diag(FD->getTypeSpecStartLoc(), diag::err_main_returns_nonint) in CheckMain()
13570 Diag(var->getTypeSpecStartLoc(), diag::note_static_for_internal_linkage) in CheckCompleteVariableDeclaration()
15147 return FD->getTypeSpecStartLoc(); in ActOnFinishFunctionBody()
15149 Diag(FD->getTypeSpecStartLoc(), in ActOnFinishFunctionBody()
H A DSemaTemplateDeduction.cpp3212 Function->getTypeSpecStartLoc(), Function->getDeclName()); in SubstituteExplicitTemplateArguments()
3560 Specialization->getTypeSpecStartLoc(), in FinishTemplateArgumentDeduction()
H A DSemaDeclAttr.cpp4835 S.Diag(FD->getTypeSpecStartLoc(), diag::err_kern_type_not_void_return) in handleGlobalAttr()
H A DSemaChecking.cpp13004 S.Diag(Bitfield->getTypeSpecStartLoc(), diag::note_change_bitfield_sign) in AnalyzeBitFieldAssignment()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSemanticHighlighting.cpp635 SourceLocation StartLoc = D->getTypeSpecStartLoc(); in VisitDeclaratorDecl()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DEasilySwappableParametersCheck.cpp1528 SourceLocation B = Node->getTypeSpecStartLoc(); in isIgnoredParameter()
/llvm-project-15.0.7/clang/unittests/Introspection/
H A DIntrospectionTest.cpp294 STRING_LOCATION_STDPAIR(MethodDecl, getTypeSpecStartLoc()) in TEST()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDecl.h826 SourceLocation getTypeSpecStartLoc() const;
/llvm-project-15.0.7/clang/lib/AST/
H A DDecl.cpp1895 SourceLocation DeclaratorDecl::getTypeSpecStartLoc() const { in getTypeSpecStartLoc() function in DeclaratorDecl