/external/clang/lib/AST/ |
D | DeclCXX.cpp | 498 if (Constructor->isConstexpr()) in addedMember() 515 if (Constructor->isConstexpr() && !Constructor->isCopyOrMoveConstructor()) in addedMember() 942 if (Constructor->isConstexpr()) in finishedDefaultedOrDeletedMember() 949 else if (Constructor->isConstexpr()) in finishedDefaultedOrDeletedMember() 1466 bool isConstexpr, SourceLocation EndLocation) { in Create() argument 1468 T, TInfo, SC, isInline, isConstexpr, in Create() 1749 bool isImplicitlyDeclared, bool isConstexpr) { in Create() argument 1755 isImplicitlyDeclared, isConstexpr); in Create() 1934 bool isConstexpr, SourceLocation EndLocation) { in Create() argument 1939 isInline, isExplicit, isConstexpr, in Create()
|
D | DeclPrinter.cpp | 459 if (D->isConstexpr() && !D->isExplicitlyDefaulted()) Out << "constexpr "; in VisitFunctionDecl()
|
D | ExprConstant.cpp | 2669 } else if (VD->isConstexpr()) { in findCompleteObject() 3721 if (!CD->isConstexpr() && !IsValueInitialization) { in CheckTrivialDefaultConstructor() 3743 Declaration->isConstexpr()) in CheckConstexprFunction() 3752 if (Definition && Definition->isConstexpr() && !Definition->isInvalidDecl()) in CheckConstexprFunction() 3760 << DiagDecl->isConstexpr() << isa<CXXConstructorDecl>(DiagDecl) in CheckConstexprFunction() 8908 EvalInfo InitInfo(Ctx, EStatus, VD->isConstexpr() in EvaluateAsInitializer()
|
D | ASTImporter.cpp | 2845 D->isConstexpr()); in VisitFunctionDecl() 2861 D->isConstexpr(), in VisitFunctionDecl() 2870 D->isConstexpr(), in VisitFunctionDecl() 2878 D->isConstexpr()); in VisitFunctionDecl()
|
D | ASTDumper.cpp | 1018 if (FD->isConstexpr()) in dumpDecl()
|
D | Decl.cpp | 2092 return Lang.CPlusPlus11 && isConstexpr(); in isUsableInConstantExpressions()
|
/external/clang/include/clang/AST/ |
D | DeclCXX.h | 1714 bool isConstexpr, SourceLocation EndLocation) in CXXMethodDecl() argument 1716 SC, isInline, isConstexpr) { in CXXMethodDecl() 1728 bool isConstexpr, 2154 bool isImplicitlyDeclared, bool isConstexpr) in CXXConstructorDecl() argument 2156 SC_None, isInline, isConstexpr, SourceLocation()), in CXXConstructorDecl() 2170 bool isConstexpr); 2406 bool isConstexpr, SourceLocation EndLocation) in CXXConversionDecl() argument 2408 SC_None, isInline, isConstexpr, EndLocation), in CXXConversionDecl() 2417 bool isConstexpr,
|
D | Decl.h | 1236 bool isConstexpr() const { in isConstexpr() function 1847 bool isConstexpr() const { return IsConstexpr; } in isConstexpr() function
|
/external/clang/lib/Sema/ |
D | SemaCoroutine.cpp | 126 } else if (FD->isConstexpr()) { in checkCoroutineContext()
|
D | SemaDecl.cpp | 6679 if (NewVD->isConstexpr() && !T->isDependentType() && in CheckVariableDeclarationType() 7088 bool isConstexpr = D.getDeclSpec().isConstexprSpecified(); in CreateNewFunctionDecl() local 7109 isConstexpr); in CreateNewFunctionDecl() 7144 /*hasPrototype=*/true, isConstexpr); in CreateNewFunctionDecl() 7159 isConstexpr, SourceLocation()); in CreateNewFunctionDecl() 7179 isConstexpr, SourceLocation()); in CreateNewFunctionDecl() 7194 true/*HasPrototype*/, isConstexpr); in CreateNewFunctionDecl() 7434 bool isConstexpr = D.getDeclSpec().isConstexprSpecified(); in ActOnFunctionDeclarator() local 7635 if (isConstexpr) { in ActOnFunctionDeclarator() 7700 if (isConstexpr) { in ActOnFunctionDeclarator() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 1441 D->isConstexpr()); in VisitFunctionDecl() 1738 false, Constructor->isConstexpr()); in VisitCXXMethodDecl() 1779 Conversion->isConstexpr(), in VisitCXXMethodDecl() 1786 D->isConstexpr(), D->getLocEnd()); in VisitCXXMethodDecl() 3630 NewVar->setConstexpr(OldVar->isConstexpr()); in BuildVariableInstantiation()
|
D | SemaDeclCXX.cpp | 635 if (New->isConstexpr() != Old->isConstexpr()) { in MergeCXXFunctionDecl() 637 << New << New->isConstexpr(); in MergeCXXFunctionDecl() 5069 return SMOR->getMethod()->isConstexpr(); in specialMemberIsConstexpr() 5335 MD->isConstexpr() && !Constexpr && in CheckExplicitlyDefaultedSpecialMember() 9209 /*ImplicitlyDeclared=*/true, /*Constexpr=*/BaseCtor->isConstexpr()); in declareCtor()
|
D | SemaTemplate.cpp | 6849 if (FD->isConstexpr()) { in CheckFunctionTemplateSpecialization() 6920 Specialization->setConstexpr(FD->isConstexpr()); in CheckFunctionTemplateSpecialization()
|
D | SemaStmt.cpp | 3248 if (getLangOpts().CPlusPlus11 && FD && FD->isConstexpr()) { in BuildReturnStmt()
|
D | SemaExpr.cpp | 12443 if (!Func->isConstexpr() || Func->getBody()) in MarkFunctionReferenced() 12535 if (!AlreadyInstantiated || Func->isConstexpr()) { in MarkFunctionReferenced() 12541 else if (Func->isConstexpr()) in MarkFunctionReferenced()
|
D | SemaOpenMP.cpp | 3138 NewVD->setConstexpr(VD->isConstexpr()); in TransformDefinition()
|
D | SemaOverload.cpp | 1055 if (!getLangOpts().CPlusPlus14 && NewMethod->isConstexpr() && in IsOverload()
|
/external/clang/lib/Analysis/ |
D | ReachableCode.cpp | 185 return Callee ? Callee->isConstexpr() : false; in isConfigurationValue()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 2984 AST_POLYMORPHIC_MATCHER(isConstexpr, in AST_POLYMORPHIC_MATCHER() argument 2987 return Node.isConstexpr(); in AST_POLYMORPHIC_MATCHER()
|
/external/clang/lib/CodeGen/ |
D | CGDecl.cpp | 970 (D.isConstexpr() || in EmitAutoVarAlloca() 1202 if (emission.IsConstantAggregate || D.isConstexpr()) { in EmitAutoVarInit()
|
/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 876 Record.push_back(D->isConstexpr()); in VisitVarDecl() 922 !D->isConstexpr() && in VisitVarDecl()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTest.cpp | 1736 TEST(isConstexpr, MatchesConstexprDeclarations) { in TEST() argument 1738 varDecl(hasName("foo"), isConstexpr()))); in TEST() 1740 functionDecl(hasName("bar"), isConstexpr()))); in TEST()
|