| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Interp.cpp | 343 if (!F->isConstexpr()) { in CheckCallable() 352 if (!Inherited->isConstexpr()) in CheckCallable() 364 << DiagDecl->isConstexpr() << (bool)CD << DiagDecl; in CheckCallable()
|
| H A D | Context.cpp | 42 if (!Func->isConstexpr()) in isPotentialConstantExpr()
|
| H A D | Function.h | 103 bool isConstexpr() const { return IsValid; } in isConstexpr() function
|
| H A D | ByteCodeEmitter.cpp | 60 if (!F->isConstexpr() || !visitFunc(F)) { in compileFunc()
|
| H A D | ByteCodeExprGen.cpp | 382 if (VD->hasLocalStorage() && VD->hasInit() && !VD->isConstexpr()) { in dereferenceVar() 485 if (VD->isConstexpr()) { in getGlobalIdx()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCUDA.cpp | 148 if (Var->isConstexpr() && !hasExplicitAttr<CUDAConstantAttr>(Var)) in IdentifyCUDATarget() 672 if (!getLangOpts().CUDAHostDeviceConstexpr || !NewD->isConstexpr() || in maybeAddCUDAHostDeviceAttrs() 719 (VD->isConstexpr() || (VD->getType().isConstQualified() && in MaybeAddCUDAConstantAttr()
|
| H A D | JumpDiagnostics.cpp | 380 if (!(IS->isConstexpr() || IS->isObjCAvailabilityCheck())) in BuildScopeInformation() 383 unsigned Diag = IS->isConstexpr() ? diag::note_protected_by_constexpr_if in BuildScopeInformation()
|
| H A D | SemaDecl.cpp | 4297 Old->getCanonicalDecl()->isConstexpr()) { in MergeVarDecl() 8183 if (NewVD->isConstexpr() && !T->isDependentType() && in CheckVariableDeclarationType() 10351 if (!ConstexprSupported && NewFD->isConstexpr()) in areMultiversionVariantFunctionsCompatible() 10887 if (!getLangOpts().CPlusPlus14 && MD && MD->isConstexpr() && in CheckFunctionDeclaration() 11149 if (FD->isConstexpr()) { in CheckMain() 12472 } else if (VDecl->isConstexpr()) { in AddInitializerToDecl() 12673 if (Var->isConstexpr() && !Var->isThisDeclarationADefinition() && in ActOnUninitializedDecl() 12701 if (Ctor->isConstexpr() && Ctor->getNumParams() == 0 && in ActOnUninitializedDecl() 13173 (GlobalStorage || var->isConstexpr() || in CheckCompleteVariableDeclaration() 13205 } else if (var->isConstexpr()) { in CheckCompleteVariableDeclaration() [all …]
|
| H A D | SemaDeclCXX.cpp | 6845 if (M->isDefaulted() && M->isConstexpr() && M->size_overridden_methods()) in CheckCompletedCXXClass() 7083 return BaseCtor->isConstexpr(); in specialMemberIsConstexpr() 7097 return SMOR.getMethod()->isConstexpr(); in specialMemberIsConstexpr() 7445 MD->isConstexpr() && !Constexpr && in CheckExplicitlyDefaultedSpecialMember() 7813 if (Diagnose == ExplainConstexpr && !BestFD->isConstexpr()) { in visitBinaryOperator() 7822 R.Constexpr &= BestFD->isConstexpr(); in visitBinaryOperator() 8544 if (FD->isConstexpr()) { in CheckExplicitlyDefaultedComparison() 8562 if (First && !FD->isConstexpr() && Info.Constexpr) in CheckExplicitlyDefaultedComparison() 13353 BaseCtor->isConstexpr() && in findInheritingConstructor() 15442 if (Destructor->isConstexpr()) { in FinalizeVarWithDestructor() [all …]
|
| H A D | SemaExceptionSpec.cpp | 1542 return mergeCanThrow(CT, IS->isConstexpr() ? CT_Dependent in canThrow()
|
| H A D | SemaCoroutine.cpp | 239 if (FD->isConstexpr()) in isValidCoroutineContext()
|
| H A D | SemaLambda.cpp | 1917 !CallOperator->isConstexpr() && in BuildLambdaExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 562 return Dtor ? Dtor->isConstexpr() : defaultedDestructorIsConstexpr(); in hasConstexprDestructor() 783 if (Constructor->isConstexpr()) in addedMember() 821 if (Constructor->isConstexpr() && !Constructor->isCopyOrMoveConstructor()) in addedMember() 1404 if (Constructor->isConstexpr()) in finishedDefaultedOrDeletedMember() 1411 else if (Constructor->isConstexpr()) in finishedDefaultedOrDeletedMember()
|
| H A D | JSONNodeDumper.cpp | 816 attributeOnlyIfTrue("constexpr", VD->isConstexpr()); in VisitVarDecl() 847 attributeOnlyIfTrue("constexpr", FD->isConstexpr()); in VisitFunctionDecl() 1491 attributeOnlyIfTrue("isConstexpr", IS->isConstexpr()); in VisitIfStmt()
|
| H A D | TextNodeDumper.cpp | 1743 if (D->isConstexpr()) in VisitVarDecl() 1766 if (E && !E->isValueDependent() && D->isConstexpr()) { in VisitVarDecl()
|
| H A D | ODRHash.cpp | 296 Hash.AddBoolean(D->isConstexpr()); in VisitVarDecl()
|
| H A D | Stmt.cpp | 999 if (!isConstexpr() || getCond()->isValueDependent()) in getNondiscardedCase()
|
| H A D | DeclPrinter.cpp | 887 if (D->isConstexpr()) { in VisitVarDecl()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ReachableCode.cpp | 217 return Callee ? Callee->isConstexpr() : false; in isConfigurationValue()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 394 REGISTER_MATCHER(isConstexpr); in RegistryMaps()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 726 S.isConstexpr())) { in EmitIfStmt() 735 if (S.isConstexpr() || !ContainsLabel(Skipped)) { in EmitIfStmt()
|
| H A D | CGDecl.cpp | 1460 (D.isConstexpr() || in EmitAutoVarAlloca() 1847 (D.isConstexpr() in EmitAutoVarInit()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 5106 AST_POLYMORPHIC_MATCHER(isConstexpr, in AST_POLYMORPHIC_MATCHER() argument 5110 return Node.isConstexpr(); in AST_POLYMORPHIC_MATCHER()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Decl.h | 1474 bool isConstexpr() const { in isConstexpr() function 2278 bool isConstexpr() const { in isConstexpr() function
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 1000 Record.push_back(D->isConstexpr()); in VisitVarDecl() 1071 !D->isConstexpr() && in VisitVarDecl()
|