Home
last modified time | relevance | path

Searched refs:isConstexpr (Results 1 – 22 of 22) sorted by relevance

/external/clang/lib/AST/
DDeclCXX.cpp498 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()
DDeclPrinter.cpp459 if (D->isConstexpr() && !D->isExplicitlyDefaulted()) Out << "constexpr "; in VisitFunctionDecl()
DExprConstant.cpp2669 } 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()
DASTImporter.cpp2845 D->isConstexpr()); in VisitFunctionDecl()
2861 D->isConstexpr(), in VisitFunctionDecl()
2870 D->isConstexpr(), in VisitFunctionDecl()
2878 D->isConstexpr()); in VisitFunctionDecl()
DASTDumper.cpp1018 if (FD->isConstexpr()) in dumpDecl()
DDecl.cpp2092 return Lang.CPlusPlus11 && isConstexpr(); in isUsableInConstantExpressions()
/external/clang/include/clang/AST/
DDeclCXX.h1714 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,
DDecl.h1236 bool isConstexpr() const { in isConstexpr() function
1847 bool isConstexpr() const { return IsConstexpr; } in isConstexpr() function
/external/clang/lib/Sema/
DSemaCoroutine.cpp126 } else if (FD->isConstexpr()) { in checkCoroutineContext()
DSemaDecl.cpp6679 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 …]
DSemaTemplateInstantiateDecl.cpp1441 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()
DSemaDeclCXX.cpp635 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()
DSemaTemplate.cpp6849 if (FD->isConstexpr()) { in CheckFunctionTemplateSpecialization()
6920 Specialization->setConstexpr(FD->isConstexpr()); in CheckFunctionTemplateSpecialization()
DSemaStmt.cpp3248 if (getLangOpts().CPlusPlus11 && FD && FD->isConstexpr()) { in BuildReturnStmt()
DSemaExpr.cpp12443 if (!Func->isConstexpr() || Func->getBody()) in MarkFunctionReferenced()
12535 if (!AlreadyInstantiated || Func->isConstexpr()) { in MarkFunctionReferenced()
12541 else if (Func->isConstexpr()) in MarkFunctionReferenced()
DSemaOpenMP.cpp3138 NewVD->setConstexpr(VD->isConstexpr()); in TransformDefinition()
DSemaOverload.cpp1055 if (!getLangOpts().CPlusPlus14 && NewMethod->isConstexpr() && in IsOverload()
/external/clang/lib/Analysis/
DReachableCode.cpp185 return Callee ? Callee->isConstexpr() : false; in isConfigurationValue()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2984 AST_POLYMORPHIC_MATCHER(isConstexpr, in AST_POLYMORPHIC_MATCHER() argument
2987 return Node.isConstexpr(); in AST_POLYMORPHIC_MATCHER()
/external/clang/lib/CodeGen/
DCGDecl.cpp970 (D.isConstexpr() || in EmitAutoVarAlloca()
1202 if (emission.IsConstantAggregate || D.isConstexpr()) { in EmitAutoVarInit()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp876 Record.push_back(D->isConstexpr()); in VisitVarDecl()
922 !D->isConstexpr() && in VisitVarDecl()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp1736 TEST(isConstexpr, MatchesConstexprDeclarations) { in TEST() argument
1738 varDecl(hasName("foo"), isConstexpr()))); in TEST()
1740 functionDecl(hasName("bar"), isConstexpr()))); in TEST()