Sema: Variable templates cannot be static bitfield members
authorDavid Majnemer <david.majnemer@gmail.com>
Sun, 28 Dec 2014 22:51:45 +0000 (22:51 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Sun, 28 Dec 2014 22:51:45 +0000 (22:51 +0000)
commit380443a2ac10906010e3d622b92395bdf8dbc82b
treed8bae7b6c3e9476c1122512288142d80ca9db16c
parentb6edff93aecdc9fb6a3dede4e79181469ea680b8
Sema: Variable templates cannot be static bitfield members

We correctly forbid variables but not variable templates.  Diagnose this
case instead of crashing.

llvm-svn: 224905
clang/lib/Sema/SemaDeclCXX.cpp
clang/test/SemaCXX/cxx1y-variable-templates_in_class.cpp