Home
last modified time | relevance | path

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

/minix/external/bsd/llvm/dist/clang/lib/AST/
H A DDeclCXX.cpp504 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()
1451 bool isConstexpr, SourceLocation EndLocation) { in Create() argument
1453 T, TInfo, SC, isInline, isConstexpr, in Create()
1734 bool isImplicitlyDeclared, bool isConstexpr) { in Create() argument
1740 isImplicitlyDeclared, isConstexpr); in Create()
1906 bool isConstexpr, SourceLocation EndLocation) { in Create() argument
1911 isInline, isExplicit, isConstexpr, in Create()
H A DDeclPrinter.cpp417 if (D->isConstexpr() && !D->isExplicitlyDefaulted()) Out << "constexpr "; in VisitFunctionDecl()
H A DASTImporter.cpp2752 D->isConstexpr()); in VisitFunctionDecl()
2768 D->isConstexpr(), in VisitFunctionDecl()
2777 D->isConstexpr(), in VisitFunctionDecl()
2785 D->isConstexpr()); in VisitFunctionDecl()
H A DExprConstant.cpp2582 } else if (VD->isConstexpr()) { in findCompleteObject()
3623 if (!CD->isConstexpr() && !IsValueInitialization) { in CheckTrivialDefaultConstructor()
3645 Declaration->isConstexpr()) in CheckConstexprFunction()
3654 if (Definition && Definition->isConstexpr() && !Definition->isInvalidDecl()) in CheckConstexprFunction()
3662 << DiagDecl->isConstexpr() << isa<CXXConstructorDecl>(DiagDecl) in CheckConstexprFunction()
H A DASTDumper.cpp991 if (FD->isConstexpr()) in dumpDecl()
H A DDecl.cpp2010 return Lang.CPlusPlus11 && isConstexpr(); in isUsableInConstantExpressions()
/minix/external/bsd/llvm/dist/clang/include/clang/AST/
H A DDeclCXX.h1721 bool isConstexpr, SourceLocation EndLocation) in CXXMethodDecl() argument
1723 SC, isInline, isConstexpr) { in CXXMethodDecl()
1735 bool isConstexpr,
2161 bool isImplicitlyDeclared, bool isConstexpr) in CXXConstructorDecl() argument
2163 SC_None, isInline, isConstexpr, SourceLocation()), in CXXConstructorDecl()
2177 bool isConstexpr);
2412 bool isConstexpr, SourceLocation EndLocation) in CXXConversionDecl() argument
2414 SC_None, isInline, isConstexpr, EndLocation), in CXXConversionDecl()
2423 bool isConstexpr,
H A DDecl.h1165 bool isConstexpr() const { return VarDeclBits.IsConstexpr; } in isConstexpr() function
1751 bool isConstexpr() const { return IsConstexpr; } in isConstexpr() function
/minix/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaDecl.cpp6212 if (NewVD->isConstexpr() && !T->isDependentType() && in CheckVariableDeclarationType()
6629 bool isConstexpr = D.getDeclSpec().isConstexprSpecified(); in CreateNewFunctionDecl() local
6650 isConstexpr); in CreateNewFunctionDecl()
6972 bool isConstexpr = D.getDeclSpec().isConstexprSpecified(); in ActOnFunctionDeclarator() local
7172 if (isConstexpr) { in ActOnFunctionDeclarator()
7892 if (!getLangOpts().CPlusPlus14 && MD && MD->isConstexpr() && in CheckFunctionDeclaration()
8097 if (FD->isConstexpr()) { in CheckMain()
8961 } else if (VDecl->isConstexpr()) { in AddInitializerToDecl()
9353 if (VD->isConstexpr()) in ActOnCXXForRangeDecl()
9521 if (IsGlobal && !var->isConstexpr() && in CheckCompleteVariableDeclaration()
[all …]
H A DSemaTemplateInstantiateDecl.cpp1371 D->isConstexpr()); in VisitFunctionDecl()
1668 false, Constructor->isConstexpr()); in VisitCXXMethodDecl()
1709 Conversion->isConstexpr(), in VisitCXXMethodDecl()
1716 D->isConstexpr(), D->getLocEnd()); in VisitCXXMethodDecl()
3563 NewVar->setConstexpr(OldVar->isConstexpr()); in BuildVariableInstantiation()
H A DSemaDeclCXX.cpp605 if (New->isConstexpr() != Old->isConstexpr()) { in MergeCXXFunctionDecl()
607 << New << New->isConstexpr(); in MergeCXXFunctionDecl()
4970 return SMOR->getMethod()->isConstexpr(); in specialMemberIsConstexpr()
5236 MD->isConstexpr() && !Constexpr && in CheckExplicitlyDefaultedSpecialMember()
9110 /*ImplicitlyDeclared=*/true, /*Constexpr=*/BaseCtor->isConstexpr()); in declareCtor()
H A DSemaTemplate.cpp6745 if (FD->isConstexpr()) { in CheckFunctionTemplateSpecialization()
6810 Specialization->setConstexpr(FD->isConstexpr()); in CheckFunctionTemplateSpecialization()
H A DSemaStmt.cpp3041 if (getLangOpts().CPlusPlus11 && FD && FD->isConstexpr()) { in BuildReturnStmt()
H A DSemaExpr.cpp11607 if (!Func->isConstexpr() || Func->getBody()) in MarkFunctionReferenced()
11699 if (!AlreadyInstantiated || Func->isConstexpr()) { in MarkFunctionReferenced()
11705 else if (Func->isConstexpr()) in MarkFunctionReferenced()
H A DSemaOverload.cpp1037 if (!getLangOpts().CPlusPlus14 && NewMethod->isConstexpr() && in IsOverload()
/minix/external/bsd/llvm/dist/clang/lib/Analysis/
H A DReachableCode.cpp185 return Callee ? Callee->isConstexpr() : false; in isConfigurationValue()
/minix/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGDecl.cpp892 (D.isConstexpr() || in EmitAutoVarAlloca()
1121 if (emission.IsConstantAggregate || D.isConstexpr()) { in EmitAutoVarInit()
/minix/external/bsd/llvm/dist/clang/lib/Serialization/
H A DASTWriterDecl.cpp739 Record.push_back(D->isConstexpr()); in VisitVarDecl()
783 !D->isConstexpr() && in VisitVarDecl()