Home
last modified time | relevance | path

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

12

/external/clang/lib/AST/
DDeclCXX.cpp520 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()
DDeclPrinter.cpp467 if (D->isConstexpr() && !D->isExplicitlyDefaulted()) Out << "constexpr "; in VisitFunctionDecl()
745 if (D->isConstexpr()) { in VisitVarDecl()
DASTDumper.cpp1049 if (FD->isConstexpr()) in dumpDecl()
1208 if (D->isConstexpr()) in VisitVarDecl()
DExprConstant.cpp2765 } 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()
DASTImporter.cpp3048 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()
DDecl.cpp1928 getCanonicalDecl()->isConstexpr()) && in isThisDeclarationADefinition()
2114 return Lang.CPlusPlus11 && isConstexpr(); in isUsableInConstantExpressions()
/external/clang/include/clang/AST/
DDeclCXX.h1743 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,
DDecl.h1276 bool isConstexpr() const { in isConstexpr() function
1883 bool isConstexpr() const { return IsConstexpr; } in isConstexpr() function
DStmt.h933 bool isConstexpr() const { return IfStmtBits.IsConstexpr; } in isConstexpr() function
/external/clang/lib/Sema/
DSemaCUDA.cpp447 if (!getLangOpts().CUDAHostDeviceConstexpr || !NewD->isConstexpr() || in maybeAddCUDAHostDeviceAttrs()
DSemaCoroutine.cpp126 } else if (FD->isConstexpr()) { in checkCoroutineContext()
DSemaDecl.cpp3674 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 …]
DSemaTemplateInstantiateDecl.cpp1548 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()
DJumpDiagnostics.cpp328 if (!IS->isConstexpr()) in BuildScopeInformation()
DSemaLambda.cpp1606 !CallOperator->isConstexpr() && in BuildLambdaExpr()
DSemaDeclCXX.cpp635 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()
DTreeTransform.h6277 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()
DSemaTemplate.cpp6888 if (FD->isConstexpr()) { in CheckFunctionTemplateSpecialization()
6969 Specialization->setConstexpr(FD->isConstexpr()); in CheckFunctionTemplateSpecialization()
/external/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp875 TEST(isConstexpr, MatchesConstexprDeclarations) { in TEST() argument
877 varDecl(hasName("foo"), isConstexpr()))); in TEST()
879 functionDecl(hasName("bar"), isConstexpr()))); in TEST()
/external/clang/lib/Analysis/
DReachableCode.cpp185 return Callee ? Callee->isConstexpr() : false; in isConfigurationValue()
/external/clang/lib/CodeGen/
DCGDecl.cpp981 (D.isConstexpr() || in EmitAutoVarAlloca()
1214 if (emission.IsConstantAggregate || D.isConstexpr()) { in EmitAutoVarInit()
DCGStmt.cpp585 S.isConstexpr())) { in EmitIfStmt()
594 if (S.isConstexpr() || !ContainsLabel(Skipped)) { in EmitIfStmt()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h3394 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/
DRewriteToChromeStyle.cpp478 if (decl.isConstexpr()) in IsProbablyConst()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp901 Record.push_back(D->isConstexpr()); in VisitVarDecl()
948 !D->isConstexpr() && in VisitVarDecl()

12