/external/clang/lib/AST/ |
D | DeclCXX.cpp | 504 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()
|
D | DeclPrinter.cpp | 417 if (D->isConstexpr() && !D->isExplicitlyDefaulted()) Out << "constexpr "; in VisitFunctionDecl()
|
D | ASTImporter.cpp | 2774 D->isConstexpr()); in VisitFunctionDecl() 2790 D->isConstexpr(), in VisitFunctionDecl() 2799 D->isConstexpr(), in VisitFunctionDecl() 2807 D->isConstexpr()); in VisitFunctionDecl()
|
D | ExprConstant.cpp | 2583 } 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()
|
D | ASTDumper.cpp | 994 if (FD->isConstexpr()) in dumpDecl()
|
D | Decl.cpp | 2061 return Lang.CPlusPlus11 && isConstexpr(); in isUsableInConstantExpressions()
|
/external/clang/include/clang/AST/ |
D | DeclCXX.h | 1720 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,
|
D | Decl.h | 1205 bool isConstexpr() const { return VarDeclBits.IsConstexpr; } in isConstexpr() function 1794 bool isConstexpr() const { return IsConstexpr; } in isConstexpr() function
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 6335 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 …]
|
D | SemaTemplateInstantiateDecl.cpp | 1376 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()
|
D | SemaDeclCXX.cpp | 613 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()
|
D | SemaTemplate.cpp | 6766 if (FD->isConstexpr()) { in CheckFunctionTemplateSpecialization() 6831 Specialization->setConstexpr(FD->isConstexpr()); in CheckFunctionTemplateSpecialization()
|
D | SemaStmt.cpp | 3201 if (getLangOpts().CPlusPlus11 && FD && FD->isConstexpr()) { in BuildReturnStmt()
|
D | SemaExpr.cpp | 12112 if (!Func->isConstexpr() || Func->getBody()) in MarkFunctionReferenced() 12204 if (!AlreadyInstantiated || Func->isConstexpr()) { in MarkFunctionReferenced() 12210 else if (Func->isConstexpr()) in MarkFunctionReferenced()
|
D | SemaOverload.cpp | 1043 if (!getLangOpts().CPlusPlus14 && NewMethod->isConstexpr() && in IsOverload()
|
/external/clang/lib/Analysis/ |
D | ReachableCode.cpp | 185 return Callee ? Callee->isConstexpr() : false; in isConfigurationValue()
|
/external/clang/lib/CodeGen/ |
D | CGDecl.cpp | 899 (D.isConstexpr() || in EmitAutoVarAlloca() 1128 if (emission.IsConstantAggregate || D.isConstexpr()) { in EmitAutoVarInit()
|
/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 797 Record.push_back(D->isConstexpr()); in VisitVarDecl() 841 !D->isConstexpr() && in VisitVarDecl()
|