summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseCXXInlineMethods.cpp
diff options
context:
space:
mode:
authorFrancois Pichet <pichet2000@gmail.com>2011-12-08 09:11:52 +0000
committerFrancois Pichet <pichet2000@gmail.com>2011-12-08 09:11:52 +0000
commit33786cb499f5cee2cc31337f5bc6c178e869cb7d (patch)
treed1aa3313d01dde23ec36682da13eab4d75ffcce9 /clang/lib/Parse/ParseCXXInlineMethods.cpp
parent266e3dda1746bbb8008c8162df398df9b502561b (diff)
downloadbcm5719-llvm-33786cb499f5cee2cc31337f5bc6c178e869cb7d.tar.gz
bcm5719-llvm-33786cb499f5cee2cc31337f5bc6c178e869cb7d.zip
Remove unused parameter from the LateParsedTemplatedFunction constructor.
llvm-svn: 146145
Diffstat (limited to 'clang/lib/Parse/ParseCXXInlineMethods.cpp')
-rw-r--r--clang/lib/Parse/ParseCXXInlineMethods.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Parse/ParseCXXInlineMethods.cpp b/clang/lib/Parse/ParseCXXInlineMethods.cpp
index 66f26f86f4b..d5b240ab79b 100644
--- a/clang/lib/Parse/ParseCXXInlineMethods.cpp
+++ b/clang/lib/Parse/ParseCXXInlineMethods.cpp
@@ -113,8 +113,7 @@ Decl *Parser::ParseCXXInlineMethodDef(AccessSpecifier AS,
!Actions.IsInsideALocalClassWithinATemplateFunction())) {
if (FnD) {
- LateParsedTemplatedFunction *LPT =
- new LateParsedTemplatedFunction(this, FnD);
+ LateParsedTemplatedFunction *LPT = new LateParsedTemplatedFunction(FnD);
FunctionDecl *FD = 0;
if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(FnD))
OpenPOWER on IntegriCloud