Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DDeclCXX.cpp504 if (Constructor->isConstexpr()) in addedMember()
521 if (Constructor->isConstexpr() && !Constructor->isCopyOrMoveConstructor()) in addedMember()
948 if (Constructor->isConstexpr()) in finishedDefaultedOrDeletedMember()
955 else if (Constructor->isConstexpr()) in finishedDefaultedOrDeletedMember()
1450 bool isConstexpr, SourceLocation EndLocation) { in Create() argument
1452 T, TInfo, SC, isInline, isConstexpr, in Create()
1733 bool isImplicitlyDeclared, bool isConstexpr) { in Create() argument
1739 isImplicitlyDeclared, isConstexpr); in Create()
1918 bool isConstexpr, SourceLocation EndLocation) { in Create() argument
1923 isInline, isExplicit, isConstexpr, in Create()
DDeclPrinter.cpp417 if (D->isConstexpr() && !D->isExplicitlyDefaulted()) Out << "constexpr "; in VisitFunctionDecl()
DASTImporter.cpp2774 D->isConstexpr()); in VisitFunctionDecl()
2790 D->isConstexpr(), in VisitFunctionDecl()
2799 D->isConstexpr(), in VisitFunctionDecl()
2807 D->isConstexpr()); in VisitFunctionDecl()
DExprConstant.cpp2583 } else if (VD->isConstexpr()) { in findCompleteObject()
3624 if (!CD->isConstexpr() && !IsValueInitialization) { in CheckTrivialDefaultConstructor()
3646 Declaration->isConstexpr()) in CheckConstexprFunction()
3655 if (Definition && Definition->isConstexpr() && !Definition->isInvalidDecl()) in CheckConstexprFunction()
3663 << DiagDecl->isConstexpr() << isa<CXXConstructorDecl>(DiagDecl) in CheckConstexprFunction()
DASTDumper.cpp994 if (FD->isConstexpr()) in dumpDecl()
DDecl.cpp2061 return Lang.CPlusPlus11 && isConstexpr(); in isUsableInConstantExpressions()
/external/clang/include/clang/AST/
DDeclCXX.h1720 bool isConstexpr, SourceLocation EndLocation) in CXXMethodDecl() argument
1722 SC, isInline, isConstexpr) { in CXXMethodDecl()
1734 bool isConstexpr,
2160 bool isImplicitlyDeclared, bool isConstexpr) in CXXConstructorDecl() argument
2162 SC_None, isInline, isConstexpr, SourceLocation()), in CXXConstructorDecl()
2176 bool isConstexpr);
2412 bool isConstexpr, SourceLocation EndLocation) in CXXConversionDecl() argument
2414 SC_None, isInline, isConstexpr, EndLocation), in CXXConversionDecl()
2423 bool isConstexpr,
DDecl.h1205 bool isConstexpr() const { return VarDeclBits.IsConstexpr; } in isConstexpr() function
1794 bool isConstexpr() const { return IsConstexpr; } in isConstexpr() function
/external/clang/lib/Sema/
DSemaDecl.cpp6335 if (NewVD->isConstexpr() && !T->isDependentType() && in CheckVariableDeclarationType()
6752 bool isConstexpr = D.getDeclSpec().isConstexprSpecified(); in CreateNewFunctionDecl() local
6773 isConstexpr); in CreateNewFunctionDecl()
6808 /*hasPrototype=*/true, isConstexpr); in CreateNewFunctionDecl()
6823 isConstexpr, SourceLocation()); in CreateNewFunctionDecl()
6843 isConstexpr, SourceLocation()); in CreateNewFunctionDecl()
6858 true/*HasPrototype*/, isConstexpr); in CreateNewFunctionDecl()
7097 bool isConstexpr = D.getDeclSpec().isConstexprSpecified(); in ActOnFunctionDeclarator() local
7297 if (isConstexpr) { in ActOnFunctionDeclarator()
8008 if (!getLangOpts().CPlusPlus14 && MD && MD->isConstexpr() && in CheckFunctionDeclaration()
[all …]
DSemaTemplateInstantiateDecl.cpp1376 D->isConstexpr()); in VisitFunctionDecl()
1673 false, Constructor->isConstexpr()); in VisitCXXMethodDecl()
1714 Conversion->isConstexpr(), in VisitCXXMethodDecl()
1721 D->isConstexpr(), D->getLocEnd()); in VisitCXXMethodDecl()
3564 NewVar->setConstexpr(OldVar->isConstexpr()); in BuildVariableInstantiation()
DSemaDeclCXX.cpp613 if (New->isConstexpr() != Old->isConstexpr()) { in MergeCXXFunctionDecl()
615 << New << New->isConstexpr(); in MergeCXXFunctionDecl()
5033 return SMOR->getMethod()->isConstexpr(); in specialMemberIsConstexpr()
5299 MD->isConstexpr() && !Constexpr && in CheckExplicitlyDefaultedSpecialMember()
9182 /*ImplicitlyDeclared=*/true, /*Constexpr=*/BaseCtor->isConstexpr()); in declareCtor()
DSemaTemplate.cpp6766 if (FD->isConstexpr()) { in CheckFunctionTemplateSpecialization()
6831 Specialization->setConstexpr(FD->isConstexpr()); in CheckFunctionTemplateSpecialization()
DSemaStmt.cpp3201 if (getLangOpts().CPlusPlus11 && FD && FD->isConstexpr()) { in BuildReturnStmt()
DSemaExpr.cpp12112 if (!Func->isConstexpr() || Func->getBody()) in MarkFunctionReferenced()
12204 if (!AlreadyInstantiated || Func->isConstexpr()) { in MarkFunctionReferenced()
12210 else if (Func->isConstexpr()) in MarkFunctionReferenced()
DSemaOverload.cpp1043 if (!getLangOpts().CPlusPlus14 && NewMethod->isConstexpr() && in IsOverload()
/external/clang/lib/Analysis/
DReachableCode.cpp185 return Callee ? Callee->isConstexpr() : false; in isConfigurationValue()
/external/clang/lib/CodeGen/
DCGDecl.cpp899 (D.isConstexpr() || in EmitAutoVarAlloca()
1128 if (emission.IsConstantAggregate || D.isConstexpr()) { in EmitAutoVarInit()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp797 Record.push_back(D->isConstexpr()); in VisitVarDecl()
841 !D->isConstexpr() && in VisitVarDecl()