| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | LambdaFunctionNameCheck.cpp | 74 const auto *E = Result.Nodes.getNodeAs<PredefinedExpr>("E"); in check() 75 if (E->getIdentKind() != PredefinedExpr::Func && in check() 76 E->getIdentKind() != PredefinedExpr::Function) { in check() 93 << PredefinedExpr::getIdentKindName(E->getIdentKind()); in check()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ComputeDependence.h | 85 class PredefinedExpr; variable 176 ExprDependence computeDependence(PredefinedExpr *E);
|
| H A D | StmtDataCollectors.td | 28 class PredefinedExpr {
|
| H A D | TextNodeDumper.h | 257 void VisitPredefinedExpr(const PredefinedExpr *Node);
|
| H A D | JSONNodeDumper.h | 270 void VisitPredefinedExpr(const PredefinedExpr *PE);
|
| H A D | Expr.h | 1959 class PredefinedExpr final 1961 private llvm::TrailingObjects<PredefinedExpr, Stmt *> { 1984 PredefinedExpr(SourceLocation L, QualType FNTy, IdentKind IK, 1987 explicit PredefinedExpr(EmptyShell Empty, bool HasFunctionName); 2000 static PredefinedExpr *Create(const ASTContext &Ctx, SourceLocation L, 2004 static PredefinedExpr *CreateEmpty(const ASTContext &Ctx,
|
| H A D | Stmt.h | 353 friend class PredefinedExpr; in alignas() local
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | VTableBuilder.cpp | 1952 PredefinedExpr::ComputeName(PredefinedExpr::PrettyFunctionNoVirtual, in dumpLayout() 2032 PredefinedExpr::ComputeName(PredefinedExpr::PrettyFunctionNoVirtual, in dumpLayout() 2111 PredefinedExpr::ComputeName(PredefinedExpr::PrettyFunctionNoVirtual, in dumpLayout() 2177 PredefinedExpr::ComputeName(PredefinedExpr::PrettyFunctionNoVirtual, in dumpLayout() 3171 std::string Str = PredefinedExpr::ComputeName( in dumpLayout() 3172 PredefinedExpr::PrettyFunctionNoVirtual, MD); in dumpLayout() 3226 std::string MethodName = PredefinedExpr::ComputeName( in dumpLayout() 3227 PredefinedExpr::PrettyFunctionNoVirtual, MD); in dumpLayout() 3658 std::string MethodName = PredefinedExpr::ComputeName( in dumpMethodLocations() 3659 PredefinedExpr::PrettyFunctionNoVirtual, MD); in dumpMethodLocations()
|
| H A D | Expr.cpp | 582 PredefinedExpr::PredefinedExpr(SourceLocation L, QualType FNTy, IdentKind IK, in PredefinedExpr() function in PredefinedExpr 596 PredefinedExpr::PredefinedExpr(EmptyShell Empty, bool HasFunctionName) in PredefinedExpr() function in PredefinedExpr 601 PredefinedExpr *PredefinedExpr::Create(const ASTContext &Ctx, SourceLocation L, in Create() 606 alignof(PredefinedExpr)); in Create() 607 return new (Mem) PredefinedExpr(L, FNTy, IK, SL); in Create() 610 PredefinedExpr *PredefinedExpr::CreateEmpty(const ASTContext &Ctx, in CreateEmpty() 613 alignof(PredefinedExpr)); in CreateEmpty() 617 StringRef PredefinedExpr::getIdentKindName(PredefinedExpr::IdentKind IK) { in getIdentKindName() 644 if (IK == PredefinedExpr::FuncDName) { in ComputeName() 2206 CurDecl ? PredefinedExpr::ComputeName(PredefinedExpr::Function, CurDecl) in EvaluateInContext() [all …]
|
| H A D | JSONNodeDumper.cpp | 1219 void JSONNodeDumper::VisitPredefinedExpr(const PredefinedExpr *PE) { in VisitPredefinedExpr() 1220 JOS.attribute("name", PredefinedExpr::getIdentKindName(PE->getIdentKind())); in VisitPredefinedExpr()
|
| H A D | TextNodeDumper.cpp | 1082 void TextNodeDumper::VisitPredefinedExpr(const PredefinedExpr *Node) { in VisitPredefinedExpr() 1083 OS << " " << PredefinedExpr::getIdentKindName(Node->getIdentKind()); in VisitPredefinedExpr()
|
| H A D | ComputeDependence.cpp | 590 ExprDependence clang::computeDependence(PredefinedExpr *E) { in computeDependence()
|
| H A D | StmtPrinter.cpp | 1241 void StmtPrinter::VisitPredefinedExpr(PredefinedExpr *Node) { in VisitPredefinedExpr() 1242 OS << PredefinedExpr::getIdentKindName(Node->getIdentKind()); in VisitPredefinedExpr()
|
| H A D | StmtProfile.cpp | 1285 void StmtProfiler::VisitPredefinedExpr(const PredefinedExpr *S) { in VisitPredefinedExpr()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | StmtNodes.td | 59 def PredefinedExpr : StmtNode<Expr>;
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | SValBuilder.cpp | 346 const auto *PE = cast<PredefinedExpr>(E); in getConstantVal()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 981 const internal::VariadicDynCastAllOfMatcher<Stmt, PredefinedExpr>
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGExprConstant.cpp | 1814 ConstantLValue VisitPredefinedExpr(const PredefinedExpr *E); 2007 ConstantLValueEmitter::VisitPredefinedExpr(const PredefinedExpr *E) { in VisitPredefinedExpr()
|
| H A D | CGExpr.cpp | 1363 return EmitPredefinedLValue(cast<PredefinedExpr>(E)); in EmitLValue() 3036 LValue CodeGenFunction::EmitPredefinedLValue(const PredefinedExpr *E) { in EmitPredefinedLValue() 3043 PredefinedExpr::getIdentKindName(E->getIdentKind()), FnName}; in EmitPredefinedLValue()
|
| H A D | CGExprAgg.cpp | 149 void VisitPredefinedExpr(const PredefinedExpr *E) { in VisitPredefinedExpr()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 3527 PredefinedExpr::IdentKind IK) { in BuildPredefinedExpr() 3551 auto Str = PredefinedExpr::ComputeName(IK, currentDecl); in BuildPredefinedExpr() 3555 if (IK == PredefinedExpr::LFunction || IK == PredefinedExpr::LFuncSig) { in BuildPredefinedExpr() 3576 return PredefinedExpr::Create(Context, Loc, ResTy, IK, SL); in BuildPredefinedExpr() 3602 PredefinedExpr::IdentKind IK; in ActOnPredefinedExpr() 3606 case tok::kw___func__: IK = PredefinedExpr::Func; break; // [C99 6.4.2.2] in ActOnPredefinedExpr() 3607 case tok::kw___FUNCTION__: IK = PredefinedExpr::Function; break; in ActOnPredefinedExpr() 3608 case tok::kw___FUNCDNAME__: IK = PredefinedExpr::FuncDName; break; // [MS] in ActOnPredefinedExpr() 3609 case tok::kw___FUNCSIG__: IK = PredefinedExpr::FuncSig; break; // [MS] in ActOnPredefinedExpr() 3610 case tok::kw_L__FUNCTION__: IK = PredefinedExpr::LFunction; break; // [MS] in ActOnPredefinedExpr() [all …]
|
| H A D | SemaTemplateInstantiate.cpp | 1096 ExprResult TransformPredefinedExpr(PredefinedExpr *E); 1437 TemplateInstantiator::TransformPredefinedExpr(PredefinedExpr *E) { in TransformPredefinedExpr()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersNodeTest.cpp | 1060 TEST_P(ASTMatchersTest, PredefinedExpr) { in TEST_P() argument
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 579 void ASTStmtReader::VisitPredefinedExpr(PredefinedExpr *E) { in VisitPredefinedExpr() 2878 S = PredefinedExpr::CreateEmpty( in ReadStmtFromStream()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 2684 extern const internal::VariadicDynCastAllOfMatcher<Stmt, PredefinedExpr>
|