Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/darwin/
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()
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DFixItHintUtils.cpp88 return fixIfNotDangerous(Var.getTypeSpecStartLoc(), in changeValue()
128 return fixIfNotDangerous(Var.getTypeSpecStartLoc(), in changePointer()
170 return fixIfNotDangerous(Var.getTypeSpecStartLoc(), in changeReferencee()
/external/llvm-project/clang-tools-extra/unittests/clang-tidy/
DClangTidyDiagnosticConsumerTest.cpp23 diag(Var->getTypeSpecStartLoc(), "type specifier"); in check()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DQualifiedAutoCheck.cpp66 Var->getTypeSpecStartLoc(), in getTypeSpecifierLocation()
/external/llvm-project/clang-tools-extra/clangd/
DSemanticHighlighting.cpp300 H.addToken(D->getTypeSpecStartLoc(), *K); in VisitDeclaratorDecl()
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp611 D->getTypeSpecStartLoc(), in VisitVarDecl()
2846 D->getTypeSpecStartLoc(), D->getDeclName()); in VisitVarTemplateSpecializationDecl()
3153 PartialSpec->getTypeSpecStartLoc(), PartialSpec->getDeclName()); in InstantiateVarTemplatePartialSpecialization()
3204 D->getTypeSpecStartLoc(), in SubstFunctionType()
3768 PatternDecl->getTypeSpecStartLoc(), PatternDecl->getDeclName()); in CompleteVarTemplateSpecializationDecl()
DSemaStmt.cpp3700 Diag(H->getExceptionDecl()->getTypeSpecStartLoc(), in ActOnCXXTryBlock()
3703 Diag(Problem->getExceptionDecl()->getTypeSpecStartLoc(), in ActOnCXXTryBlock()
3715 Diag(H->getExceptionDecl()->getTypeSpecStartLoc(), in ActOnCXXTryBlock()
3718 Diag(Problem->getExceptionDecl()->getTypeSpecStartLoc(), in ActOnCXXTryBlock()
DSemaDecl.cpp7283 SourceLocation Loc = FDParam->getTypeSpecStartLoc(); in DiagnoseInvalidRedeclaration()
8593 Diag(Param->getTypeSpecStartLoc(), diag::err_reference_pipe_type ); in ActOnFunctionDeclarator()
8952 Diag(FD->getTypeSpecStartLoc(), diag::ext_main_returns_nonint); in CheckMain()
8969 Diag(FD->getTypeSpecStartLoc(), diag::err_main_returns_nonint) in CheckMain()
DSemaTemplateDeduction.cpp2599 Function->getTypeSpecStartLoc(), Function->getDeclName()); in SubstituteExplicitTemplateArguments()
DSemaDeclAttr.cpp3708 S.Diag(FD->getTypeSpecStartLoc(), diag::err_kern_type_not_void_return) in handleGlobalAttr()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp2196 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteTypeOfDecl()
2287 SourceLocation FunLocStart = FD->getTypeSpecStartLoc(); in RewriteBlockLiteralFunctionDecl()
3619 SourceLocation FunLocStart = FD->getTypeSpecStartLoc(); in InsertBlockLiteralsWithinFunction()
4175 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteByRefVar()
4211 FunLocStart = CurFunctionDef->getTypeSpecStartLoc(); in RewriteByRefVar()
4873 SynthesizeBlockLiterals(VD->getTypeSpecStartLoc(), VD->getName()); in HandleDeclInMainFile()
DRewriteModernObjC.cpp2285 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteTypeOfDecl()
2376 SourceLocation FunLocStart = FD->getTypeSpecStartLoc(); in RewriteBlockLiteralFunctionDecl()
3052 return FD->getTypeSpecStartLoc(); in getFunctionSourceLocation()
4441 : FD->getTypeSpecStartLoc(); in InsertBlockLiteralsWithinFunction()
5028 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteByRefVar()
5784 SynthesizeBlockLiterals(VD->getTypeSpecStartLoc(), VD->getName()); in HandleDeclInMainFile()
/external/llvm-project/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp2205 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteTypeOfDecl()
2296 SourceLocation FunLocStart = FD->getTypeSpecStartLoc(); in RewriteBlockLiteralFunctionDecl()
3632 SourceLocation FunLocStart = FD->getTypeSpecStartLoc(); in InsertBlockLiteralsWithinFunction()
4186 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteByRefVar()
4222 FunLocStart = CurFunctionDef->getTypeSpecStartLoc(); in RewriteByRefVar()
4883 SynthesizeBlockLiterals(VD->getTypeSpecStartLoc(), VD->getName()); in HandleDeclInMainFile()
DRewriteModernObjC.cpp2291 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteTypeOfDecl()
2382 SourceLocation FunLocStart = FD->getTypeSpecStartLoc(); in RewriteBlockLiteralFunctionDecl()
3053 return FD->getTypeSpecStartLoc(); in getFunctionSourceLocation()
4444 : FD->getTypeSpecStartLoc(); in InsertBlockLiteralsWithinFunction()
5028 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteByRefVar()
5783 SynthesizeBlockLiterals(VD->getTypeSpecStartLoc(), VD->getName()); in HandleDeclInMainFile()
/external/llvm-project/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp982 D->getTypeSourceInfo(), TemplateArgs, D->getTypeSpecStartLoc(), in VisitVarDecl()
3666 D->getTypeSpecStartLoc(), D->getDeclName()); in VisitVarTemplateSpecializationDecl()
4091 PartialSpec->getTypeSpecStartLoc(), PartialSpec->getDeclName()); in InstantiateVarTemplatePartialSpecialization()
4145 D->getTypeSpecStartLoc(), in SubstFunctionType()
4939 PatternDecl->getTypeSpecStartLoc(), PatternDecl->getDeclName()); in CompleteVarTemplateSpecializationDecl()
DSemaStmt.cpp4206 Diag(H->getExceptionDecl()->getTypeSpecStartLoc(), in ActOnCXXTryBlock()
4209 Diag(Problem->getExceptionDecl()->getTypeSpecStartLoc(), in ActOnCXXTryBlock()
4221 Diag(H->getExceptionDecl()->getTypeSpecStartLoc(), in ActOnCXXTryBlock()
4224 Diag(Problem->getExceptionDecl()->getTypeSpecStartLoc(), in ActOnCXXTryBlock()
DSemaDecl.cpp8360 SourceLocation Loc = FDParam->getTypeSpecStartLoc(); in DiagnoseInvalidRedeclaration()
9858 Diag(Param->getTypeSpecStartLoc(), diag::err_reference_pipe_type ); in ActOnFunctionDeclarator()
11049 Diag(FD->getTypeSpecStartLoc(), diag::ext_main_returns_nonint); in CheckMain()
11066 Diag(FD->getTypeSpecStartLoc(), diag::err_main_returns_nonint) in CheckMain()
12890 Diag(var->getTypeSpecStartLoc(), diag::note_static_for_internal_linkage) in CheckCompleteVariableDeclaration()
14438 return FD->getTypeSpecStartLoc(); in ActOnFinishFunctionBody()
14440 Diag(FD->getTypeSpecStartLoc(), diag::note_static_for_internal_linkage) in ActOnFinishFunctionBody()
DSemaTemplateDeduction.cpp3344 Function->getTypeSpecStartLoc(), Function->getDeclName()); in SubstituteExplicitTemplateArguments()
3692 Specialization->getTypeSpecStartLoc(), in FinishTemplateArgumentDeduction()
DSemaDeclAttr.cpp4433 S.Diag(FD->getTypeSpecStartLoc(), diag::err_kern_type_not_void_return) in handleGlobalAttr()
DSemaChecking.cpp11432 S.Diag(Bitfield->getTypeSpecStartLoc(), diag::note_change_bitfield_sign) in AnalyzeBitFieldAssignment()
/external/clang/include/clang/AST/
DDecl.h724 SourceLocation getTypeSpecStartLoc() const;
/external/llvm-project/clang/include/clang/AST/
DDecl.h786 SourceLocation getTypeSpecStartLoc() const;
/external/clang/lib/AST/
DDecl.cpp1643 SourceLocation DeclaratorDecl::getTypeSpecStartLoc() const { in getTypeSpecStartLoc() function in DeclaratorDecl
/external/llvm-project/clang/lib/AST/
DDecl.cpp1830 SourceLocation DeclaratorDecl::getTypeSpecStartLoc() const { in getTypeSpecStartLoc() function in DeclaratorDecl