diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-05-12 00:46:04 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-05-12 00:46:04 +0000 |
commit | 8e0f753ecbabba9b5f61c5c9ce8390b8bbebfe54 (patch) | |
tree | 0d090c3244fbd128d5e36a7c0012ded898921710 | |
parent | f72a5ec851d3f236115454114522198618c6aec3 (diff) |
Fix accidental merge error.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_31@156688 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Parse/ParseDecl.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp index eebe3a28e3..7995e68d3f 100644 --- a/lib/Parse/ParseDecl.cpp +++ b/lib/Parse/ParseDecl.cpp @@ -4265,18 +4265,7 @@ void Parser::ParseFunctionDeclarator(Declarator &D, IsCXX11MemberFunction); // Parse exception-specification[opt]. - // FIXME: Remove the code to perform delayed parsing of exception - // specifications. -#if 0 - bool Delayed = (D.getContext() == Declarator::MemberContext && - D.getDeclSpec().getStorageClassSpec() - != DeclSpec::SCS_typedef && - !D.getDeclSpec().isFriendSpecified()); -#else - const bool Delayed = false; -#endif - ESpecType = tryParseExceptionSpecification(Delayed, - ESpecRange, + ESpecType = tryParseExceptionSpecification(ESpecRange, DynamicExceptions, DynamicExceptionRanges, NoexceptExpr); |