[LLVMbugs] [Bug 14603] New: In Obj-C++11 mode, vector<id<foo>> should be accepted, but it still requires a space
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Dec 13 15:28:09 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=14603
Bug #: 14603
Summary: In Obj-C++11 mode, vector<id<foo>> should be accepted,
but it still requires a space
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: C++11
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: nicolasweber at gmx.de
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
hummer:src thakis$ cat test.mm
#include <vector>
@protocol P @end
int main() {
std::vector<id<P>> v;
}
hummer:src thakis$ third_party/llvm-build/Release+Asserts/bin/clang -c test.mm
test.mm:6:19: error: expected '>'
std::vector<id<P>> v;
^
test.mm:6:19: error: a space is required between consecutive right angle
brackets (use '> >')
std::vector<id<P>> v;
^~
> >
test.mm:6:20: error: expected unqualified-id
std::vector<id<P>> v;
^
3 errors generated.
hummer:src thakis$ third_party/llvm-build/Release+Asserts/bin/clang -c test.mm
-std=c++11
test.mm:6:19: error: expected '>'
std::vector<id<P>> v;
^
test.mm:6:20: error: expected unqualified-id
std::vector<id<P>> v;
^
2 errors generated.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list