Factor building of CXXDefaultArgExpr expressions out into a separate function.
llvm-svn: 79974
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h
index 31c2aaf..96ea420 100644
--- a/clang/lib/Sema/Sema.h
+++ b/clang/lib/Sema/Sema.h
@@ -1763,6 +1763,12 @@
bool Elidable,
Expr **Exprs, unsigned NumExprs);
+ /// BuildCXXDefaultArgExpr - Creates a CXXDefaultArgExpr, instantiating
+ /// the default expr if needed.
+ OwningExprResult BuildCXXDefaultArgExpr(SourceLocation CallLoc,
+ FunctionDecl *FD,
+ ParmVarDecl *Param);
+
/// FinalizeVarWithDestructor - Prepare for calling destructor on the
/// constructed variable.
void FinalizeVarWithDestructor(VarDecl *VD, QualType DeclInitType);