Home
last modified time | relevance | path

Searched refs:PredefinedExpr (Results 1 – 25 of 55) sorted by relevance

123

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DLambdaFunctionNameCheck.cpp74 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/
DComputeDependence.h81 class PredefinedExpr; variable
168 ExprDependence computeDependence(PredefinedExpr *E);
DStmtDataCollectors.td28 class PredefinedExpr {
DTextNodeDumper.h254 void VisitPredefinedExpr(const PredefinedExpr *Node);
DJSONNodeDumper.h266 void VisitPredefinedExpr(const PredefinedExpr *PE);
DExpr.h1947 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/
DVTableBuilder.cpp1952 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()
DExpr.cpp505 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 …]
DJSONNodeDumper.cpp1166 void JSONNodeDumper::VisitPredefinedExpr(const PredefinedExpr *PE) { in VisitPredefinedExpr()
1167 JOS.attribute("name", PredefinedExpr::getIdentKindName(PE->getIdentKind())); in VisitPredefinedExpr()
DTextNodeDumper.cpp1019 void TextNodeDumper::VisitPredefinedExpr(const PredefinedExpr *Node) { in VisitPredefinedExpr()
1020 OS << " " << PredefinedExpr::getIdentKindName(Node->getIdentKind()); in VisitPredefinedExpr()
DComputeDependence.cpp515 ExprDependence clang::computeDependence(PredefinedExpr *E) { in computeDependence()
DStmtPrinter.cpp1056 void StmtPrinter::VisitPredefinedExpr(PredefinedExpr *Node) { in VisitPredefinedExpr()
1057 OS << PredefinedExpr::getIdentKindName(Node->getIdentKind()); in VisitPredefinedExpr()
/external/clang/lib/AST/
DVTableBuilder.cpp1946 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()
DExpr.cpp438 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()
DASTDumper.cpp512 void VisitPredefinedExpr(const PredefinedExpr *Node);
1962 void ASTDumper::VisitPredefinedExpr(const PredefinedExpr *Node) { in VisitPredefinedExpr()
1964 OS << " " << PredefinedExpr::getIdentTypeName(Node->getIdentType()); in VisitPredefinedExpr()
DStmtPrinter.cpp1270 void StmtPrinter::VisitPredefinedExpr(PredefinedExpr *Node) { in VisitPredefinedExpr()
1271 OS << PredefinedExpr::getIdentTypeName(Node->getIdentType()); in VisitPredefinedExpr()
/external/clang/include/clang/Basic/
DStmtNodes.td57 def PredefinedExpr : DStmt<Expr>;
/external/clang/lib/CodeGen/
DCGExprConstant.cpp1051 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/
DStmtNodes.td59 def PredefinedExpr : StmtNode<Expr>;
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp310 const auto *PE = cast<PredefinedExpr>(E); in getConstantVal()
/external/clang/include/clang/AST/
DExpr.h1160 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/
DASTMatchersInternal.cpp941 const internal::VariadicDynCastAllOfMatcher<Stmt, PredefinedExpr>
/external/llvm-project/clang/lib/CodeGen/
DCGExprConstant.cpp1782 ConstantLValue VisitPredefinedExpr(const PredefinedExpr *E);
1972 ConstantLValueEmitter::VisitPredefinedExpr(const PredefinedExpr *E) { in VisitPredefinedExpr()
/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp772 ExprResult TransformPredefinedExpr(PredefinedExpr *E);
1063 TemplateInstantiator::TransformPredefinedExpr(PredefinedExpr *E) { in TransformPredefinedExpr()
DSemaExpr.cpp3057 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 …]

123