AST: __uuidof should leak through templated types
Summary: __uuidof on templated types should exmaine if any of its template parameters have a uuid declspec. If exactly one does, then take it. Otherwise, issue an appropriate error. Reviewers: rsmith, thakis, rnk CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1419 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190240 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/AST/ExprCXX.h 4 additions, 2 deletionsinclude/clang/AST/ExprCXX.h
- include/clang/Basic/DiagnosticSemaKinds.td 2 additions, 0 deletionsinclude/clang/Basic/DiagnosticSemaKinds.td
- lib/AST/ExprCXX.cpp 47 additions, 6 deletionslib/AST/ExprCXX.cpp
- lib/Sema/SemaExprCXX.cpp 17 additions, 7 deletionslib/Sema/SemaExprCXX.cpp
- test/Parser/MicrosoftExtensions.cpp 19 additions, 0 deletionstest/Parser/MicrosoftExtensions.cpp
Loading
Please register or sign in to comment