diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2012-07-03 22:54:28 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2012-07-03 22:54:28 +0000 |
commit | 3b5f9dc024232fe3bde347f6b52155ff7f55a232 (patch) | |
tree | c539946b8e938f88c13c2ef842f80f463902b1dd /lib/Parse/Parser.cpp | |
parent | cda104171088d721f627420962fc940d69c313b4 (diff) |
Obj-C++11 parser: fix broken parsing of c-function
defined in class implementations.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159691 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/Parser.cpp')
-rw-r--r-- | lib/Parse/Parser.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Parse/Parser.cpp b/lib/Parse/Parser.cpp index 8ae0aa9976..c2c4c90090 100644 --- a/lib/Parse/Parser.cpp +++ b/lib/Parse/Parser.cpp @@ -775,7 +775,6 @@ bool Parser::isDeclarationAfterDeclarator() { (getLangOpts().CPlusPlus && Tok.is(tok::l_paren)) || // int X(0) -> not a function def [C++] (CurParsedObjCImpl && - !getLangOpts().CPlusPlus0x && // FIXME for Obj-C++11 parser. Tok.is(tok::l_brace)); // C-function nested in an @implementation } |