/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | Aliasing.cpp | 30 if (LeftVar->hasInit() && LeftVar->getType()->isReferenceType()) { in isPtrOrReferenceForVar()
|
/external/llvm-project/clang-tools-extra/clang-tidy/llvm/ |
D | TwineLocalCheck.cpp | 34 if (VD->hasInit()) { in check()
|
/external/clang/lib/AST/ |
D | StmtIterator.cpp | 45 if (VD->hasInit()) in NextVA()
|
D | Decl.cpp | 1929 (hasInit() || in isThisDeclarationADefinition() 1951 if (hasInit()) in isThisDeclarationADefinition() 2040 bool VarDecl::hasInit() const { in hasInit() function in VarDecl 2049 if (!hasInit()) in getInit()
|
/external/llvm-project/clang/lib/AST/ |
D | StmtIterator.cpp | 49 if (VD->hasInit()) in NextVA()
|
D | DeclOpenMP.cpp | 188 assert(hasInit()); in getSourceRange()
|
D | Decl.cpp | 2125 (hasInit() || in isThisDeclarationADefinition() 2147 if (hasInit()) in isThisDeclarationADefinition() 2239 bool VarDecl::hasInit() const { in hasInit() function in VarDecl 2248 if (!hasInit()) in getInit() 2267 if (I->hasInit()) in getInitializingDeclaration()
|
D | TextNodeDumper.cpp | 1691 if (D->hasInit()) { in VisitVarDecl() 1709 if (D->hasInit()) { in VisitVarDecl()
|
D | ODRHash.cpp | 297 const bool HasInit = D->hasInit(); in VisitVarDecl()
|
/external/llvm-project/clang/tools/clang-extdef-mapping/ |
D | ClangExtDefMapGen.cpp | 67 if (cross_tu::containsConst(VD, Ctx) && VD->hasInit()) in handleDecl()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | IsolateDeclarationCheck.cpp | 188 CurrentDecl->hasInit() in declRanges()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | RedundantVoidArgCheck.cpp | 203 if (Var->hasInit()) { in processVarDecl()
|
D | UseDefaultMemberInitCheck.cpp | 211 allOf(initCountIs(1), hasInit(0, ignoringImplicit(InitBase))), in registerMatchers()
|
D | LoopConvertUtils.cpp | 354 if (!VDecl->hasInit()) in isAliasDecl()
|
/external/clang/include/clang/Sema/ |
D | SemaInternal.h | 77 !(Var->isStaticDataMember() && Var->hasInit())) { in MarkVarDeclODRUsed()
|
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/ |
D | DurationRewriter.cpp | 177 hasInit(0, ignoringParenImpCasts(ZeroMatcher))))) in IsLiteralZero()
|
/external/llvm-project/clang/lib/AST/Interp/ |
D | ByteCodeExprGen.cpp | 382 if (VD->hasLocalStorage() && VD->hasInit() && !VD->isConstexpr()) { in dereferenceVar()
|
/external/llvm-project/clang/include/clang/AST/ |
D | ASTNodeTraverser.h | 429 if (D->hasInit()) in VisitVarDecl()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaCUDA.cpp | 515 if (VD->isInvalidDecl() || !VD->hasInit() || !VD->hasGlobalStorage()) in checkAllowedCUDAInitializer()
|
D | SemaTemplateInstantiateDecl.cpp | 3347 IsCorrect = IsCorrect && OldPrivParm->hasInit(); in VisitOMPDeclareReductionDecl() 5146 if (OldVar->getFirstDecl()->hasInit()) in InstantiateVariableInitializer() 5206 (PatternDecl = PatternDecl->getFirstDecl())->hasInit() && in InstantiateVariableDefinition() 5207 !Var->hasInit()) { in InstantiateVariableDefinition()
|
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 296 REGISTER_MATCHER(hasInit); in RegistryMaps()
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersNarrowingTest.cpp | 3484 EXPECT_TRUE(matches("int x{0};", initListExpr(hasInit(0, expr())))); in TEST_P() 3485 EXPECT_FALSE(matches("int x{0};", initListExpr(hasInit(1, expr())))); in TEST_P() 3486 EXPECT_FALSE(matches("int x;", initListExpr(hasInit(0, expr())))); in TEST_P()
|
/external/llvm-project/clang/lib/Analysis/ |
D | Consumed.cpp | 918 if (Var->hasInit()) { in VisitVarDecl()
|
/external/clang/lib/Analysis/ |
D | Consumed.cpp | 934 if (Var->hasInit()) { in VisitVarDecl()
|
/external/llvm-project/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 5091 bool hasInit = (ND->getInit() != nullptr); in RewriteByRefVar() local 5094 if (hasInit) in RewriteByRefVar() 5098 hasInit = false; in RewriteByRefVar() 5138 if (!hasInit) { in RewriteByRefVar()
|