Home
last modified time | relevance | path

Searched refs:CXXDefaultArgExpr (Results 1 – 25 of 43) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedCallArgsChecker.cpp117 if (auto *defaultArg = dyn_cast<CXXDefaultArgExpr>(Arg)) in visitCallExpr()
259 isa<CXXDefaultArgExpr>(CallArg) ? Param->getDefaultArg()->getExprLoc() in reportBug()
H A DPtrTypesSemantics.cpp456 bool VisitCXXDefaultArgExpr(const CXXDefaultArgExpr *E) { in VisitCXXDefaultArgExpr()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DComputeDependence.h77 class CXXDefaultArgExpr; variable
167 ExprDependence computeDependence(CXXDefaultArgExpr *E);
H A DExprCXX.h1266 class CXXDefaultArgExpr final
1268 private llvm::TrailingObjects<CXXDefaultArgExpr, Expr *> {
1279 CXXDefaultArgExpr(StmtClass SC, SourceLocation Loc, ParmVarDecl *Param, in CXXDefaultArgExpr() function
1295 CXXDefaultArgExpr(EmptyShell Empty, bool HasRewrittenInit) in CXXDefaultArgExpr() function
1301 static CXXDefaultArgExpr *CreateEmpty(const ASTContext &C,
1306 static CXXDefaultArgExpr *Create(const ASTContext &C, SourceLocation Loc,
1320 return const_cast<CXXDefaultArgExpr *>(this)->getExpr(); in getExpr()
1328 return const_cast<CXXDefaultArgExpr *>(this)->getRewrittenExpr(); in getRewrittenExpr()
1335 return const_cast<CXXDefaultArgExpr *>(this)->getAdjustedRewrittenExpr(); in getAdjustedRewrittenExpr()
H A DASTNodeTraverser.h920 return !isa<CXXDefaultArgExpr>(Child); in VisitCallExpr()
948 void VisitCXXDefaultArgExpr(const CXXDefaultArgExpr *Node) { in VisitCXXDefaultArgExpr()
H A DTextNodeDumper.h303 void VisitCXXDefaultArgExpr(const CXXDefaultArgExpr *Node);
H A DJSONNodeDumper.h313 void VisitCXXDefaultArgExpr(const CXXDefaultArgExpr *Node);
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp1012 CXXDefaultArgExpr *CXXDefaultArgExpr::CreateEmpty(const ASTContext &C, in CreateEmpty()
1015 auto *Mem = C.Allocate(Size, alignof(CXXDefaultArgExpr)); in CreateEmpty()
1016 return new (Mem) CXXDefaultArgExpr(EmptyShell(), HasRewrittenInit); in CreateEmpty()
1019 CXXDefaultArgExpr *CXXDefaultArgExpr::Create(const ASTContext &C, in Create()
1025 auto *Mem = C.Allocate(Size, alignof(CXXDefaultArgExpr)); in Create()
1026 return new (Mem) CXXDefaultArgExpr(CXXDefaultArgExprClass, Loc, Param, in Create()
1030 Expr *CXXDefaultArgExpr::getExpr() { in getExpr()
1035 Expr *CXXDefaultArgExpr::getAdjustedRewrittenExpr() { in getAdjustedRewrittenExpr()
H A DStmtPrinter.cpp1603 if (isa<CXXDefaultArgExpr>(Call->getArg(i))) { in PrintCallArgs()
1937 if (!isa<CXXDefaultArgExpr>(Node->getArg(ArgIdx))) in VisitCXXOperatorCallExpr()
2126 void StmtPrinter::VisitCXXDefaultArgExpr(CXXDefaultArgExpr *Node) { in VisitCXXDefaultArgExpr()
2323 if (NumPlace > 0 && !isa<CXXDefaultArgExpr>(E->getPlacementArg(0))) { in VisitCXXNewExpr()
2327 if (isa<CXXDefaultArgExpr>(E->getPlacementArg(i))) in VisitCXXNewExpr()
2390 if (isa<CXXDefaultArgExpr>(E->getArg(i))) { in VisitCXXConstructExpr()
H A DExpr.cpp2282 dyn_cast_if_present<CXXDefaultArgExpr>(DefaultExpr)) { in EvaluateInContext()
2955 return (cast<CXXDefaultArgExpr>(this) in isUnusedResultAWarning()
3134 (NumArgs > 1 && isa<CXXDefaultArgExpr>(C->getArg(1)))) { in IgnoreUnlessSpelledInSource()
3173 return isa<CXXDefaultArgExpr>(E); in isDefaultArgument()
3493 return cast<CXXDefaultArgExpr>(this)->getExpr() in isConstantInitializer()
3743 return cast<CXXDefaultArgExpr>(this)->getExpr()->HasSideEffects( in HasSideEffects()
3998 } else if (const CXXDefaultArgExpr *DefaultArg in isNullPointerConstant()
3999 = dyn_cast<CXXDefaultArgExpr>(this)) { in isNullPointerConstant()
H A DExprClassification.cpp360 return ClassifyInternal(Ctx, cast<CXXDefaultArgExpr>(E)->getExpr()); in ClassifyInternal()
H A DComputeDependence.cpp848 ExprDependence clang::computeDependence(CXXDefaultArgExpr *E) { in computeDependence()
H A DDeclPrinter.cpp395 if (isa<CXXDefaultArgExpr>(Args[I])) in PrintConstructorInitializers()
H A DJSONNodeDumper.cpp1581 void JSONNodeDumper::VisitCXXDefaultArgExpr(const CXXDefaultArgExpr *Node) { in VisitCXXDefaultArgExpr()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DUsedDeclVisitor.h93 void VisitCXXDefaultArgExpr(CXXDefaultArgExpr *E) { in VisitCXXDefaultArgExpr()
H A DSemaExceptionSpec.cpp1318 return canThrow(cast<CXXDefaultArgExpr>(S)->getExpr()); in canThrow()
H A DSemaTemplateInstantiate.cpp1534 ExprResult TransformCXXDefaultArgExpr(CXXDefaultArgExpr *E);
2396 CXXDefaultArgExpr *E) { in TransformCXXDefaultArgExpr()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp56 if (NumArgs == 1 || (NumArgs > 1 && isa<CXXDefaultArgExpr>(C->getArg(1)))) { in IgnoreImplicitConstructorSingleStep()
160 llvm::find_if(Args, [](auto It) { return isa<CXXDefaultArgExpr>(It); }); in dropDefaultArgs()
1242 if ((S->getNumArgs() == 0 || isa<CXXDefaultArgExpr>(S->getArg(0))) && in WalkUpFromCXXConstructExpr()
1324 bool WalkUpFromCXXDefaultArgExpr(CXXDefaultArgExpr *S) { return true; } in WalkUpFromCXXDefaultArgExpr()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2044 extern const internal::VariadicDynCastAllOfMatcher<Stmt, CXXDefaultArgExpr>
4511 if (!isa<CXXDefaultArgExpr>(Node.getArg(NumArgs - 1))) in AST_POLYMORPHIC_MATCHER_P()
4538 if (!isa<CXXDefaultArgExpr>(Node.getArg(NumArgs - 1))) in AST_POLYMORPHIC_MATCHER_P()
4561 if (Finder->isTraversalIgnoringImplicitNodes() && isa<CXXDefaultArgExpr>(Arg)) in AST_POLYMORPHIC_MATCHER_P2()
4898 isa<CXXDefaultArgExpr>(Arg)) in AST_POLYMORPHIC_MATCHER_P()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td133 def CXXDefaultArgExpr : StmtNode<Expr>;
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DCompiler.h127 bool VisitCXXDefaultArgExpr(const CXXDefaultArgExpr *E);
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp499 void VisitCXXDefaultArgExpr(const CXXDefaultArgExpr *S) { in VisitCXXDefaultArgExpr()
H A DDataflowEnvironment.cpp418 isa<CXXDefaultArgExpr>(E) || isa<CXXStdInitializerListExpr>(E) || in PropagateResultObject()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprComplex.cpp230 ComplexPairTy VisitCXXDefaultArgExpr(CXXDefaultArgExpr *DAE) { in VisitCXXDefaultArgExpr()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1869 void ASTStmtReader::VisitCXXDefaultArgExpr(CXXDefaultArgExpr *E) { in VisitCXXDefaultArgExpr()
4059 S = CXXDefaultArgExpr::CreateEmpty( in ReadStmtFromStream()

12