[LLVMbugs] [Bug 16094] New: Parser error with objc++

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 21 09:13:09 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16094

            Bug ID: 16094
           Summary: Parser error with objc++
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu,
                    rafael.espindola at gmail.com, richard-llvm at metafoo.co.uk
    Classification: Unclassified

We used to accept

@class NSString;
extern "C" NSString *NSUserName(void);
void foo() {
  [NSUserName() UTF8String];
}

with  -std=c++11, but we now produce an error:

test.mii:4:15: error: expected expression
  [NSUserName() UTF8String];

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130521/749e3d44/attachment.html>


More information about the llvm-bugs mailing list