/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
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()
|
/external/llvm-project/clang/include/clang/AST/ |
D | ComputeDependence.h | 81 class PredefinedExpr; variable 168 ExprDependence computeDependence(PredefinedExpr *E);
|
D | StmtDataCollectors.td | 28 class PredefinedExpr {
|
D | TextNodeDumper.h | 254 void VisitPredefinedExpr(const PredefinedExpr *Node);
|
D | JSONNodeDumper.h | 266 void VisitPredefinedExpr(const PredefinedExpr *PE);
|
D | Expr.h | 1947 class PredefinedExpr final 1949 private llvm::TrailingObjects<PredefinedExpr, Stmt *> { 1972 PredefinedExpr(SourceLocation L, QualType FNTy, IdentKind IK, 1975 explicit PredefinedExpr(EmptyShell Empty, bool HasFunctionName); 1988 static PredefinedExpr *Create(const ASTContext &Ctx, SourceLocation L, 1992 static PredefinedExpr *CreateEmpty(const ASTContext &Ctx,
|
/external/llvm-project/clang/lib/AST/ |
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() 3173 std::string Str = PredefinedExpr::ComputeName( in dumpLayout() 3174 PredefinedExpr::PrettyFunctionNoVirtual, MD); in dumpLayout() 3228 std::string MethodName = PredefinedExpr::ComputeName( in dumpLayout() 3229 PredefinedExpr::PrettyFunctionNoVirtual, MD); in dumpLayout() 3662 std::string MethodName = PredefinedExpr::ComputeName( in dumpMethodLocations() 3663 PredefinedExpr::PrettyFunctionNoVirtual, MD); in dumpMethodLocations()
|
D | Expr.cpp | 505 PredefinedExpr::PredefinedExpr(SourceLocation L, QualType FNTy, IdentKind IK, in PredefinedExpr() function in PredefinedExpr 519 PredefinedExpr::PredefinedExpr(EmptyShell Empty, bool HasFunctionName) in PredefinedExpr() function in PredefinedExpr 524 PredefinedExpr *PredefinedExpr::Create(const ASTContext &Ctx, SourceLocation L, in Create() 529 alignof(PredefinedExpr)); in Create() 530 return new (Mem) PredefinedExpr(L, FNTy, IK, SL); in Create() 533 PredefinedExpr *PredefinedExpr::CreateEmpty(const ASTContext &Ctx, in CreateEmpty() 536 alignof(PredefinedExpr)); in CreateEmpty() 537 return new (Mem) PredefinedExpr(EmptyShell(), HasFunctionName); in CreateEmpty() 540 StringRef PredefinedExpr::getIdentKindName(PredefinedExpr::IdentKind IK) { in getIdentKindName() 564 std::string PredefinedExpr::ComputeName(IdentKind IK, const Decl *CurrentDecl) { in ComputeName() [all …]
|
D | JSONNodeDumper.cpp | 1166 void JSONNodeDumper::VisitPredefinedExpr(const PredefinedExpr *PE) { in VisitPredefinedExpr() 1167 JOS.attribute("name", PredefinedExpr::getIdentKindName(PE->getIdentKind())); in VisitPredefinedExpr()
|
D | TextNodeDumper.cpp | 1019 void TextNodeDumper::VisitPredefinedExpr(const PredefinedExpr *Node) { in VisitPredefinedExpr() 1020 OS << " " << PredefinedExpr::getIdentKindName(Node->getIdentKind()); in VisitPredefinedExpr()
|
D | ComputeDependence.cpp | 515 ExprDependence clang::computeDependence(PredefinedExpr *E) { in computeDependence()
|
D | StmtPrinter.cpp | 1056 void StmtPrinter::VisitPredefinedExpr(PredefinedExpr *Node) { in VisitPredefinedExpr() 1057 OS << PredefinedExpr::getIdentKindName(Node->getIdentKind()); in VisitPredefinedExpr()
|
/external/clang/lib/AST/ |
D | VTableBuilder.cpp | 1946 PredefinedExpr::ComputeName(PredefinedExpr::PrettyFunctionNoVirtual, in dumpLayout() 2026 PredefinedExpr::ComputeName(PredefinedExpr::PrettyFunctionNoVirtual, in dumpLayout() 2105 PredefinedExpr::ComputeName(PredefinedExpr::PrettyFunctionNoVirtual, in dumpLayout() 2172 PredefinedExpr::ComputeName(PredefinedExpr::PrettyFunctionNoVirtual, in dumpLayout() 3150 std::string Str = PredefinedExpr::ComputeName( in dumpLayout() 3151 PredefinedExpr::PrettyFunctionNoVirtual, MD); in dumpLayout() 3205 std::string MethodName = PredefinedExpr::ComputeName( in dumpLayout() 3206 PredefinedExpr::PrettyFunctionNoVirtual, MD); in dumpLayout() 3626 std::string MethodName = PredefinedExpr::ComputeName( in dumpMethodLocations() 3627 PredefinedExpr::PrettyFunctionNoVirtual, MD); in dumpMethodLocations()
|
D | Expr.cpp | 438 PredefinedExpr::PredefinedExpr(SourceLocation L, QualType FNTy, IdentType IT, in PredefinedExpr() function in PredefinedExpr 446 StringLiteral *PredefinedExpr::getFunctionName() { in getFunctionName() 450 StringRef PredefinedExpr::getIdentTypeName(PredefinedExpr::IdentType IT) { in getIdentTypeName() 472 std::string PredefinedExpr::ComputeName(IdentType IT, const Decl *CurrentDecl) { in ComputeName() 475 if (IT == PredefinedExpr::FuncDName) { in ComputeName()
|
D | ASTDumper.cpp | 512 void VisitPredefinedExpr(const PredefinedExpr *Node); 1962 void ASTDumper::VisitPredefinedExpr(const PredefinedExpr *Node) { in VisitPredefinedExpr() 1964 OS << " " << PredefinedExpr::getIdentTypeName(Node->getIdentType()); in VisitPredefinedExpr()
|
D | StmtPrinter.cpp | 1270 void StmtPrinter::VisitPredefinedExpr(PredefinedExpr *Node) { in VisitPredefinedExpr() 1271 OS << PredefinedExpr::getIdentTypeName(Node->getIdentType()); in VisitPredefinedExpr()
|
/external/clang/include/clang/Basic/ |
D | StmtNodes.td | 57 def PredefinedExpr : DStmt<Expr>;
|
/external/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 1051 unsigned Type = cast<PredefinedExpr>(E)->getIdentType(); in EmitLValue() 1053 LValue Res = CGF->EmitPredefinedLValue(cast<PredefinedExpr>(E)); in EmitLValue() 1055 } else if (Type == PredefinedExpr::PrettyFunction) { in EmitLValue()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | StmtNodes.td | 59 def PredefinedExpr : StmtNode<Expr>;
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | SValBuilder.cpp | 310 const auto *PE = cast<PredefinedExpr>(E); in getConstantVal()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 1160 class PredefinedExpr : public Expr { 1180 PredefinedExpr(SourceLocation L, QualType FNTy, IdentType IT, 1184 explicit PredefinedExpr(EmptyShell Empty) in PredefinedExpr() function 1194 return const_cast<PredefinedExpr *>(this)->getFunctionName(); in getFunctionName()
|
/external/llvm-project/clang/lib/ASTMatchers/ |
D | ASTMatchersInternal.cpp | 941 const internal::VariadicDynCastAllOfMatcher<Stmt, PredefinedExpr>
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 1782 ConstantLValue VisitPredefinedExpr(const PredefinedExpr *E); 1972 ConstantLValueEmitter::VisitPredefinedExpr(const PredefinedExpr *E) { in VisitPredefinedExpr()
|
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiate.cpp | 772 ExprResult TransformPredefinedExpr(PredefinedExpr *E); 1063 TemplateInstantiator::TransformPredefinedExpr(PredefinedExpr *E) { in TransformPredefinedExpr()
|
D | SemaExpr.cpp | 3057 PredefinedExpr::IdentType IT) { in BuildPredefinedExpr() 3081 auto Str = PredefinedExpr::ComputeName(IT, currentDecl); in BuildPredefinedExpr() 3085 if (IT == PredefinedExpr::LFunction) { in BuildPredefinedExpr() 3103 return new (Context) PredefinedExpr(Loc, ResTy, IT, SL); in BuildPredefinedExpr() 3107 PredefinedExpr::IdentType IT; in ActOnPredefinedExpr() 3111 case tok::kw___func__: IT = PredefinedExpr::Func; break; // [C99 6.4.2.2] in ActOnPredefinedExpr() 3112 case tok::kw___FUNCTION__: IT = PredefinedExpr::Function; break; in ActOnPredefinedExpr() 3113 case tok::kw___FUNCDNAME__: IT = PredefinedExpr::FuncDName; break; // [MS] in ActOnPredefinedExpr() 3114 case tok::kw___FUNCSIG__: IT = PredefinedExpr::FuncSig; break; // [MS] in ActOnPredefinedExpr() 3115 case tok::kw_L__FUNCTION__: IT = PredefinedExpr::LFunction; break; in ActOnPredefinedExpr() [all …]
|