commit | 5e300d1a8e37f24e71f8cf204b982f20f85cf91a | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Fri Jun 12 16:51:40 2009 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Fri Jun 12 16:51:40 2009 +0000 |
tree | 4ecedfd5067b9578a835d6f0ccb3df0c7bf9b463 | |
parent | 859ba504e754436e1ccf81f50800e5d2ea647447 [diff] [blame] |
It's an error to use a function declared in a class definition as a default argument before the function has been declared. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73234 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Frontend/PrintParserCallbacks.cpp b/lib/Frontend/PrintParserCallbacks.cpp index b9fe068..026e605 100644 --- a/lib/Frontend/PrintParserCallbacks.cpp +++ b/lib/Frontend/PrintParserCallbacks.cpp
@@ -701,7 +701,8 @@ } virtual void ActOnParamUnparsedDefaultArgument(DeclPtrTy param, - SourceLocation EqualLoc) { + SourceLocation EqualLoc, + SourceLocation ArgLoc) { Out << __FUNCTION__ << "\n"; }