]> granicus.if.org Git - clang/commit
It's okay to reference an enum in a template definition, even though
authorDouglas Gregor <dgregor@apple.com>
Mon, 3 May 2010 17:48:54 +0000 (17:48 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 3 May 2010 17:48:54 +0000 (17:48 +0000)
commit8fc6d236b8d05bad4b41a9be689b26d931adedd5
treef402573b575da8b65d82b43997e4939726fa3c2d
parent32897fd3bd84e96d4bfa28aca0c7a907776fb855
It's okay to reference an enum in a template definition, even though
it's ill-formed to form an enum template. Fixes <rdar://problem/7933063>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102926 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseDecl.cpp
test/SemaTemplate/template-decl-fail.cpp