/external/clang/lib/AST/ |
D | DeclCXX.cpp | 520 if (Constructor->isConstexpr()) in addedMember() 547 if (Constructor->isConstexpr() && !Constructor->isCopyOrMoveConstructor()) in addedMember() 998 if (Constructor->isConstexpr()) in finishedDefaultedOrDeletedMember() 1005 else if (Constructor->isConstexpr()) in finishedDefaultedOrDeletedMember() 1534 bool isConstexpr, SourceLocation EndLocation) { in Create() argument 1536 T, TInfo, SC, isInline, isConstexpr, in Create() 1827 bool isImplicitlyDeclared, bool isConstexpr, in Create() argument 1836 isImplicitlyDeclared, isConstexpr, Inherited); in Create() 1998 bool isConstexpr, SourceLocation EndLocation) { in Create() argument 2003 isInline, isExplicit, isConstexpr, in Create()
|
D | DeclPrinter.cpp | 467 if (D->isConstexpr() && !D->isExplicitlyDefaulted()) Out << "constexpr "; in VisitFunctionDecl() 745 if (D->isConstexpr()) { in VisitVarDecl()
|
D | ASTDumper.cpp | 1049 if (FD->isConstexpr()) in dumpDecl() 1208 if (D->isConstexpr()) in VisitVarDecl()
|
D | ExprConstant.cpp | 2765 } else if (VD->isConstexpr()) { in findCompleteObject() 3840 if (!CD->isConstexpr() && !IsValueInitialization) { in CheckTrivialDefaultConstructor() 3863 Declaration->isConstexpr()) in CheckConstexprFunction() 3872 if (Definition && Definition->isConstexpr() && in CheckConstexprFunction() 3884 if (!Inherited->isConstexpr()) in CheckConstexprFunction() 3896 << DiagDecl->isConstexpr() << (bool)CD << DiagDecl; in CheckConstexprFunction() 9225 EvalInfo InitInfo(Ctx, EStatus, VD->isConstexpr() in EvaluateAsInitializer()
|
D | ASTImporter.cpp | 3048 D->isConstexpr()); in VisitFunctionDecl() 3080 D->isConstexpr(), in VisitFunctionDecl() 3089 D->isConstexpr(), in VisitFunctionDecl() 3097 D->isConstexpr()); in VisitFunctionDecl() 5001 ToIfLoc, S->isConstexpr(), in VisitIfStmt()
|
D | Decl.cpp | 1928 getCanonicalDecl()->isConstexpr()) && in isThisDeclarationADefinition() 2114 return Lang.CPlusPlus11 && isConstexpr(); in isUsableInConstantExpressions()
|
/external/clang/include/clang/AST/ |
D | DeclCXX.h | 1743 bool isConstexpr, SourceLocation EndLocation) in CXXMethodDecl() argument 1745 SC, isInline, isConstexpr) { in CXXMethodDecl() 1757 bool isConstexpr, 2211 bool isImplicitlyDeclared, bool isConstexpr, in CXXConstructorDecl() argument 2214 SC_None, isInline, isConstexpr, SourceLocation()), in CXXConstructorDecl() 2230 bool isConstexpr, 2472 bool isConstexpr, SourceLocation EndLocation) in CXXConversionDecl() argument 2474 SC_None, isInline, isConstexpr, EndLocation), in CXXConversionDecl() 2483 bool isConstexpr,
|
D | Decl.h | 1276 bool isConstexpr() const { in isConstexpr() function 1883 bool isConstexpr() const { return IsConstexpr; } in isConstexpr() function
|
D | Stmt.h | 933 bool isConstexpr() const { return IfStmtBits.IsConstexpr; } in isConstexpr() function
|
/external/clang/lib/Sema/ |
D | SemaCUDA.cpp | 447 if (!getLangOpts().CUDAHostDeviceConstexpr || !NewD->isConstexpr() || in maybeAddCUDAHostDeviceAttrs()
|
D | SemaCoroutine.cpp | 126 } else if (FD->isConstexpr()) { in checkCoroutineContext()
|
D | SemaDecl.cpp | 3674 Old->getCanonicalDecl()->isConstexpr()) { in MergeVarDecl() 6958 if (NewVD->isConstexpr() && !T->isDependentType() && in CheckVariableDeclarationType() 7367 bool isConstexpr = D.getDeclSpec().isConstexprSpecified(); in CreateNewFunctionDecl() local 7388 isConstexpr); in CreateNewFunctionDecl() 7423 /*hasPrototype=*/true, isConstexpr); in CreateNewFunctionDecl() 7438 isConstexpr, SourceLocation()); in CreateNewFunctionDecl() 7458 isConstexpr, SourceLocation()); in CreateNewFunctionDecl() 7473 true/*HasPrototype*/, isConstexpr); in CreateNewFunctionDecl() 7713 bool isConstexpr = D.getDeclSpec().isConstexprSpecified(); in ActOnFunctionDeclarator() local 7913 if (isConstexpr) { in ActOnFunctionDeclarator() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 1548 D->isConstexpr()); in VisitFunctionDecl() 1844 false, Constructor->isConstexpr()); in VisitCXXMethodDecl() 1855 Conversion->isConstexpr(), in VisitCXXMethodDecl() 1862 D->isConstexpr(), D->getLocEnd()); in VisitCXXMethodDecl() 3804 NewVar->setConstexpr(OldVar->isConstexpr()); in BuildVariableInstantiation()
|
D | JumpDiagnostics.cpp | 328 if (!IS->isConstexpr()) in BuildScopeInformation()
|
D | SemaLambda.cpp | 1606 !CallOperator->isConstexpr() && in BuildLambdaExpr()
|
D | SemaDeclCXX.cpp | 635 if (New->isConstexpr() != Old->isConstexpr()) { in MergeCXXFunctionDecl() 637 << New << New->isConstexpr(); in MergeCXXFunctionDecl() 5170 return BaseCtor->isConstexpr(); in specialMemberIsConstexpr() 5182 return SMOR->getMethod()->isConstexpr(); in specialMemberIsConstexpr() 5460 MD->isConstexpr() && !Constexpr && in CheckExplicitlyDefaultedSpecialMember() 9275 BaseCtor->isConstexpr() && in findInheritingConstructor()
|
D | TreeTransform.h | 6277 S->isConstexpr() ? Sema::ConditionKind::ConstexprIf in TransformIfStmt() 6284 if (S->isConstexpr()) in TransformIfStmt() 6312 return getDerived().RebuildIfStmt(S->getIfLoc(), S->isConstexpr(), Cond, in TransformIfStmt() 10226 E->getCallOperator()->isConstexpr()); in TransformLambdaExpr()
|
D | SemaTemplate.cpp | 6888 if (FD->isConstexpr()) { in CheckFunctionTemplateSpecialization() 6969 Specialization->setConstexpr(FD->isConstexpr()); in CheckFunctionTemplateSpecialization()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersNarrowingTest.cpp | 875 TEST(isConstexpr, MatchesConstexprDeclarations) { in TEST() argument 877 varDecl(hasName("foo"), isConstexpr()))); in TEST() 879 functionDecl(hasName("bar"), isConstexpr()))); in TEST()
|
/external/clang/lib/Analysis/ |
D | ReachableCode.cpp | 185 return Callee ? Callee->isConstexpr() : false; in isConfigurationValue()
|
/external/clang/lib/CodeGen/ |
D | CGDecl.cpp | 981 (D.isConstexpr() || in EmitAutoVarAlloca() 1214 if (emission.IsConstantAggregate || D.isConstexpr()) { in EmitAutoVarInit()
|
D | CGStmt.cpp | 585 S.isConstexpr())) { in EmitIfStmt() 594 if (S.isConstexpr() || !ContainsLabel(Skipped)) { in EmitIfStmt()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 3394 AST_POLYMORPHIC_MATCHER(isConstexpr, in AST_POLYMORPHIC_MATCHER() argument 3397 return Node.isConstexpr(); in AST_POLYMORPHIC_MATCHER()
|
/external/v8/tools/clang/rewrite_to_chrome_style/ |
D | RewriteToChromeStyle.cpp | 478 if (decl.isConstexpr()) in IsProbablyConst()
|
/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 901 Record.push_back(D->isConstexpr()); in VisitVarDecl() 948 !D->isConstexpr() && in VisitVarDecl()
|