diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-09-18 23:09:24 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-09-18 23:09:24 +0000 |
commit | 7506e6bf2531208dda835fef73b8605654454fa9 (patch) | |
tree | 62436beab31241c61ce64855a1f1c729e886e81f /clang/lib/Parse/ParseDecl.cpp | |
parent | d913c86b939f04652d10bcd8877ec00670677836 (diff) | |
download | bcm5719-llvm-7506e6bf2531208dda835fef73b8605654454fa9.tar.gz bcm5719-llvm-7506e6bf2531208dda835fef73b8605654454fa9.zip |
Remove a bogus diagnostic preventing static data member templates from being
defined with no initializer.
llvm-svn: 190970
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
-rw-r--r-- | clang/lib/Parse/ParseDecl.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Parse/ParseDecl.cpp b/clang/lib/Parse/ParseDecl.cpp index 915fb607a68..a1a796de414 100644 --- a/clang/lib/Parse/ParseDecl.cpp +++ b/clang/lib/Parse/ParseDecl.cpp @@ -1804,11 +1804,6 @@ Decl *Parser::ParseDeclarationAfterDeclaratorAndAttributes(Declarator &D, ThisDecl = Actions.ActOnTemplateDeclarator(getCurScope(), *TemplateInfo.TemplateParams, D); - if (Tok.is(tok::semi) && - Actions.HandleVariableRedeclaration(ThisDecl, D.getCXXScopeSpec())) { - SkipUntil(tok::semi, true, true); - return 0; - } if (VarTemplateDecl *VT = dyn_cast_or_null<VarTemplateDecl>(ThisDecl)) // Re-direct this decl to refer to the templated decl so that we can // initialize it. |