Home
last modified time | relevance | path

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

12

/netbsd/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DInterp.cpp343 if (!F->isConstexpr()) { in CheckCallable()
352 if (!Inherited->isConstexpr()) in CheckCallable()
364 << DiagDecl->isConstexpr() << (bool)CD << DiagDecl; in CheckCallable()
H A DContext.cpp42 if (!Func->isConstexpr()) in isPotentialConstantExpr()
H A DFunction.h103 bool isConstexpr() const { return IsValid; } in isConstexpr() function
H A DByteCodeEmitter.cpp60 if (!F->isConstexpr() || !visitFunc(F)) { in compileFunc()
H A DByteCodeExprGen.cpp382 if (VD->hasLocalStorage() && VD->hasInit() && !VD->isConstexpr()) { in dereferenceVar()
485 if (VD->isConstexpr()) { in getGlobalIdx()
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaCUDA.cpp148 if (Var->isConstexpr() && !hasExplicitAttr<CUDAConstantAttr>(Var)) in IdentifyCUDATarget()
638 if (!getLangOpts().CUDAHostDeviceConstexpr || !NewD->isConstexpr() || in maybeAddCUDAHostDeviceAttrs()
676 if (getLangOpts().CUDAIsDevice && VD->isConstexpr() && in MaybeAddCUDAConstantAttr()
H A DJumpDiagnostics.cpp380 if (!(IS->isConstexpr() || IS->isObjCAvailabilityCheck())) in BuildScopeInformation()
383 unsigned Diag = IS->isConstexpr() ? diag::note_protected_by_constexpr_if in BuildScopeInformation()
H A DSemaDecl.cpp4234 Old->getCanonicalDecl()->isConstexpr()) { in MergeVarDecl()
8124 if (NewVD->isConstexpr() && !T->isDependentType() && in CheckVariableDeclarationType()
10292 if (!ConstexprSupported && NewFD->isConstexpr()) in areMultiversionVariantFunctionsCompatible()
10828 if (!getLangOpts().CPlusPlus14 && MD && MD->isConstexpr() && in CheckFunctionDeclaration()
11090 if (FD->isConstexpr()) { in CheckMain()
12415 } else if (VDecl->isConstexpr()) { in AddInitializerToDecl()
12616 if (Var->isConstexpr() && !Var->isThisDeclarationADefinition() && in ActOnUninitializedDecl()
12644 if (Ctor->isConstexpr() && Ctor->getNumParams() == 0 && in ActOnUninitializedDecl()
13156 (GlobalStorage || var->isConstexpr() || in CheckCompleteVariableDeclaration()
13189 } else if (var->isConstexpr()) { in CheckCompleteVariableDeclaration()
[all …]
H A DSemaDeclCXX.cpp6845 if (M->isDefaulted() && M->isConstexpr() && M->size_overridden_methods()) in CheckCompletedCXXClass()
7083 return BaseCtor->isConstexpr(); in specialMemberIsConstexpr()
7097 return SMOR.getMethod()->isConstexpr(); in specialMemberIsConstexpr()
7442 MD->isConstexpr() && !Constexpr && in CheckExplicitlyDefaultedSpecialMember()
7812 if (Diagnose == ExplainConstexpr && !BestFD->isConstexpr()) { in visitBinaryOperator()
7821 R.Constexpr &= BestFD->isConstexpr(); in visitBinaryOperator()
8537 if (FD->isConstexpr()) { in CheckExplicitlyDefaultedComparison()
8555 if (First && !FD->isConstexpr() && Info.Constexpr) in CheckExplicitlyDefaultedComparison()
13161 BaseCtor->isConstexpr() && in findInheritingConstructor()
15237 if (Destructor->isConstexpr()) { in FinalizeVarWithDestructor()
[all …]
H A DSemaExceptionSpec.cpp1541 return mergeCanThrow(CT, IS->isConstexpr() ? CT_Dependent in canThrow()
H A DSemaCoroutine.cpp239 if (FD->isConstexpr()) in isValidCoroutineContext()
H A DSemaLambda.cpp1913 !CallOperator->isConstexpr() && in BuildLambdaExpr()
/netbsd/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclCXX.cpp558 return Dtor ? Dtor->isConstexpr() : defaultedDestructorIsConstexpr(); in hasConstexprDestructor()
779 if (Constructor->isConstexpr()) in addedMember()
817 if (Constructor->isConstexpr() && !Constructor->isCopyOrMoveConstructor()) in addedMember()
1395 if (Constructor->isConstexpr()) in finishedDefaultedOrDeletedMember()
1402 else if (Constructor->isConstexpr()) in finishedDefaultedOrDeletedMember()
H A DJSONNodeDumper.cpp777 attributeOnlyIfTrue("constexpr", VD->isConstexpr()); in VisitVarDecl()
808 attributeOnlyIfTrue("constexpr", FD->isConstexpr()); in VisitFunctionDecl()
1440 attributeOnlyIfTrue("isConstexpr", IS->isConstexpr()); in VisitIfStmt()
H A DTextNodeDumper.cpp1691 if (D->isConstexpr()) in VisitVarDecl()
1714 if (E && !E->isValueDependent() && D->isConstexpr()) { in VisitVarDecl()
H A DODRHash.cpp296 Hash.AddBoolean(D->isConstexpr()); in VisitVarDecl()
H A DStmt.cpp993 if (!isConstexpr() || getCond()->isValueDependent()) in getNondiscardedCase()
H A DDeclPrinter.cpp886 if (D->isConstexpr()) { in VisitVarDecl()
/netbsd/external/apache2/llvm/dist/clang/lib/Analysis/
H A DReachableCode.cpp217 return Callee ? Callee->isConstexpr() : false; in isConfigurationValue()
/netbsd/external/apache2/llvm/dist/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp394 REGISTER_MATCHER(isConstexpr); in RegistryMaps()
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGStmt.cpp723 S.isConstexpr())) { in EmitIfStmt()
732 if (S.isConstexpr() || !ContainsLabel(Skipped)) { in EmitIfStmt()
H A DCGDecl.cpp1454 (D.isConstexpr() || in EmitAutoVarAlloca()
1844 (D.isConstexpr() in EmitAutoVarInit()
/netbsd/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5094 AST_POLYMORPHIC_MATCHER(isConstexpr, in AST_POLYMORPHIC_MATCHER() argument
5098 return Node.isConstexpr(); in AST_POLYMORPHIC_MATCHER()
/netbsd/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDecl.h1451 bool isConstexpr() const { in isConstexpr() function
2252 bool isConstexpr() const { in isConstexpr() function
/netbsd/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTWriterDecl.cpp998 Record.push_back(D->isConstexpr()); in VisitVarDecl()
1069 !D->isConstexpr() && in VisitVarDecl()

12