/external/clang/lib/AST/ |
D | DeclCXX.cpp | 485 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()
|
D | ASTImporter.cpp | 2696 D->isConstexpr()); in VisitFunctionDecl() 2712 D->isConstexpr(), in VisitFunctionDecl() 2722 D->isConstexpr(), in VisitFunctionDecl() 2731 D->isConstexpr()); in VisitFunctionDecl()
|
D | ExprConstant.cpp | 1791 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()
|
D | Decl.cpp | 1732 return Lang.CPlusPlus11 && isConstexpr(); in isUsableInConstantExpressions()
|
/external/clang/include/clang/AST/ |
D | DeclCXX.h | 1585 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,
|
D | Decl.h | 1109 bool isConstexpr() const { return VarDeclBits.IsConstexpr; } in isConstexpr() function 1664 bool isConstexpr() const { return IsConstexpr; } in isConstexpr() function
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 5233 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 …]
|
D | SemaTemplateInstantiateDecl.cpp | 346 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()
|
D | SemaDeclCXX.cpp | 555 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()
|
D | SemaTemplate.cpp | 5945 if (FD->isConstexpr()) { in CheckFunctionTemplateSpecialization() 6009 Specialization->setConstexpr(FD->isConstexpr()); in CheckFunctionTemplateSpecialization()
|
D | SemaExpr.cpp | 10482 if (!Func->isConstexpr() || Func->getBody()) in MarkFunctionReferenced() 10573 if (!AlreadyInstantiated || Func->isConstexpr()) { in MarkFunctionReferenced() 10578 else if (Func->isConstexpr()) in MarkFunctionReferenced()
|
D | SemaOverload.cpp | 1070 if (NewMethod->isConstexpr() && !isa<CXXConstructorDecl>(NewMethod)) in shouldTryToOverload()
|
/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 333 Record.push_back(D->isConstexpr()); in VisitFunctionDecl() 687 Record.push_back(D->isConstexpr()); in VisitVarDecl() 720 !D->isConstexpr() && in VisitVarDecl()
|