]> granicus.if.org Git - clang/commit
Suggest adding 'typename' when it would make the compiler
authorKaelyn Uhrain <rikka@google.com>
Fri, 18 May 2012 23:42:49 +0000 (23:42 +0000)
committerKaelyn Uhrain <rikka@google.com>
Fri, 18 May 2012 23:42:49 +0000 (23:42 +0000)
commitab7ad72f432810011041c5628b377f77cb1c81e6
tree5128a5ff9bbae493d212af28a6f28dca58f44e59
parent719b429e3ed660cfd9cce88397b29c695a25fa50
Suggest adding 'typename' when it would make the compiler
accept the template argument expression as a type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157085 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaTemplate.cpp
test/SemaTemplate/typename-specifier.cpp