Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DDeclCXX.cpp485 if (Constructor->isConstexpr()) in addedMember()
502 if (Constructor->isConstexpr() && !Constructor->isCopyOrMoveConstructor()) in addedMember()
889 if (Constructor->isConstexpr()) in finishedDefaultedOrDeletedMember()
896 else if (Constructor->isConstexpr()) in finishedDefaultedOrDeletedMember()
1316 bool isConstexpr, SourceLocation EndLocation) { in Create() argument
1318 isStatic, SCAsWritten, isInline, isConstexpr, in Create()
1593 bool isImplicitlyDeclared, bool isConstexpr) { in Create() argument
1599 isConstexpr); in Create()
1766 bool isConstexpr, SourceLocation EndLocation) { in Create() argument
1771 isInline, isExplicit, isConstexpr, in Create()
DASTImporter.cpp2696 D->isConstexpr()); in VisitFunctionDecl()
2712 D->isConstexpr(), in VisitFunctionDecl()
2722 D->isConstexpr(), in VisitFunctionDecl()
2731 D->isConstexpr()); in VisitFunctionDecl()
DExprConstant.cpp1791 if (VD->isConstexpr()) { in HandleLValueToRValueConversion()
2091 if (!CD->isConstexpr() && !IsValueInitialization) { in CheckTrivialDefaultConstructor()
2113 Declaration->isConstexpr()) in CheckConstexprFunction()
2117 if (Definition && Definition->isConstexpr() && !Definition->isInvalidDecl()) in CheckConstexprFunction()
2125 << DiagDecl->isConstexpr() << isa<CXXConstructorDecl>(DiagDecl) in CheckConstexprFunction()
DDecl.cpp1732 return Lang.CPlusPlus11 && isConstexpr(); in isUsableInConstantExpressions()
/external/clang/include/clang/AST/
DDeclCXX.h1585 bool isConstexpr, SourceLocation EndLocation)
1588 SCAsWritten, isInline, isConstexpr) {
1601 bool isConstexpr,
2013 bool isImplicitlyDeclared, bool isConstexpr)
2015 SC_None, isInline, isConstexpr, SourceLocation()),
2029 bool isConstexpr);
2299 bool isConstexpr, SourceLocation EndLocation)
2301 SC_None, isInline, isConstexpr, EndLocation),
2310 bool isConstexpr,
DDecl.h1109 bool isConstexpr() const { return VarDeclBits.IsConstexpr; } in isConstexpr() function
1664 bool isConstexpr() const { return IsConstexpr; } in isConstexpr() function
/external/clang/lib/Sema/
DSemaDecl.cpp5233 if (NewVD->isConstexpr() && !T->isDependentType() && in CheckVariableDeclaration()
5625 bool isConstexpr = D.getDeclSpec().isConstexprSpecified(); in CreateNewFunctionDecl() local
5647 isConstexpr); in CreateNewFunctionDecl()
5682 /*hasPrototype=*/true, isConstexpr); in CreateNewFunctionDecl()
5697 isConstexpr, SourceLocation()); in CreateNewFunctionDecl()
5733 isConstexpr, SourceLocation()); in CreateNewFunctionDecl()
5742 true/*HasPrototype*/, isConstexpr); in CreateNewFunctionDecl()
5821 bool isConstexpr = D.getDeclSpec().isConstexprSpecified(); in ActOnFunctionDeclarator() local
6004 if (isConstexpr) { in ActOnFunctionDeclarator()
6664 if (MD && MD->isConstexpr() && !MD->isStatic() && in CheckFunctionDeclaration()
[all …]
DSemaTemplateInstantiateDecl.cpp346 Var->setConstexpr(D->isConstexpr()); in VisitVarDecl()
1168 D->isConstexpr()); in VisitFunctionDecl()
1516 false, Constructor->isConstexpr()); in VisitCXXMethodDecl()
1527 Conversion->isConstexpr(), in VisitCXXMethodDecl()
1535 D->isConstexpr(), D->getLocEnd()); in VisitCXXMethodDecl()
DSemaDeclCXX.cpp555 if (New->isConstexpr() != Old->isConstexpr()) { in MergeCXXFunctionDecl()
557 << New << New->isConstexpr(); in MergeCXXFunctionDecl()
4077 if (M->isConstexpr() && M->isInstance() && !isa<CXXConstructorDecl>(*M)) { in CheckCompletedCXXClass()
4122 return SMOR->getMethod()->isConstexpr(); in specialMemberIsConstexpr()
4367 if (isa<CXXConstructorDecl>(MD) && MD->isConstexpr() && !Constexpr && in CheckExplicitlyDefaultedSpecialMember()
7805 /*ImplicitlyDeclared=*/true, /*Constexpr=*/BaseCtor->isConstexpr()); in DeclareInheritingConstructors()
DSemaTemplate.cpp5945 if (FD->isConstexpr()) { in CheckFunctionTemplateSpecialization()
6009 Specialization->setConstexpr(FD->isConstexpr()); in CheckFunctionTemplateSpecialization()
DSemaExpr.cpp10482 if (!Func->isConstexpr() || Func->getBody()) in MarkFunctionReferenced()
10573 if (!AlreadyInstantiated || Func->isConstexpr()) { in MarkFunctionReferenced()
10578 else if (Func->isConstexpr()) in MarkFunctionReferenced()
DSemaOverload.cpp1070 if (NewMethod->isConstexpr() && !isa<CXXConstructorDecl>(NewMethod)) in shouldTryToOverload()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp333 Record.push_back(D->isConstexpr()); in VisitFunctionDecl()
687 Record.push_back(D->isConstexpr()); in VisitVarDecl()
720 !D->isConstexpr() && in VisitVarDecl()