Don't require a space between the two ">" in "vector<id<protocol>>" in objc++11.
C++11 allowed writing "vector<vector<int>>" without a space between the two ">". This change allows this for protocols in template lists too in -std=c++11 mode, and improves the diagnostic in c++98 mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170223 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Parse/Parser.h 2 additions, 0 deletionsinclude/clang/Parse/Parser.h
- lib/Parse/ParseObjc.cpp 1 addition, 5 deletionslib/Parse/ParseObjc.cpp
- lib/Parse/ParseTemplate.cpp 58 additions, 44 deletionslib/Parse/ParseTemplate.cpp
- test/Parser/objcxx11-protocol-in-template.mm 15 additions, 0 deletionstest/Parser/objcxx11-protocol-in-template.mm
Loading
Please register or sign in to comment