| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/darwin/ |
| H A D | DispatchOnceNonstaticCheck.cpp | 43 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 D | FixItHintUtils.cpp | 88 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 D | ClangTidyDiagnosticConsumerTest.cpp | 23 diag(Var->getTypeSpecStartLoc(), "type specifier"); in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | QualifiedAutoCheck.cpp | 66 Var->getTypeSpecStartLoc(), in getTypeSpecifierLocation()
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 2205 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 D | RewriteModernObjC.cpp | 2292 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 D | SemaStmt.cpp | 4514 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 D | SemaTemplateInstantiateDecl.cpp | 1104 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 D | SemaDecl.cpp | 8852 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 D | SemaTemplateDeduction.cpp | 3212 Function->getTypeSpecStartLoc(), Function->getDeclName()); in SubstituteExplicitTemplateArguments() 3560 Specialization->getTypeSpecStartLoc(), in FinishTemplateArgumentDeduction()
|
| H A D | SemaDeclAttr.cpp | 4835 S.Diag(FD->getTypeSpecStartLoc(), diag::err_kern_type_not_void_return) in handleGlobalAttr()
|
| H A D | SemaChecking.cpp | 13004 S.Diag(Bitfield->getTypeSpecStartLoc(), diag::note_change_bitfield_sign) in AnalyzeBitFieldAssignment()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | SemanticHighlighting.cpp | 635 SourceLocation StartLoc = D->getTypeSpecStartLoc(); in VisitDeclaratorDecl()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | EasilySwappableParametersCheck.cpp | 1528 SourceLocation B = Node->getTypeSpecStartLoc(); in isIgnoredParameter()
|
| /llvm-project-15.0.7/clang/unittests/Introspection/ |
| H A D | IntrospectionTest.cpp | 294 STRING_LOCATION_STDPAIR(MethodDecl, getTypeSpecStartLoc()) in TEST()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Decl.h | 826 SourceLocation getTypeSpecStartLoc() const;
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Decl.cpp | 1895 SourceLocation DeclaratorDecl::getTypeSpecStartLoc() const { in getTypeSpecStartLoc() function in DeclaratorDecl
|