]> granicus.if.org Git - clang/commit
Diagnose attempts to declare a non-static data member with a
authorDouglas Gregor <dgregor@apple.com>
Sun, 9 Oct 2011 18:55:59 +0000 (18:55 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sun, 9 Oct 2011 18:55:59 +0000 (18:55 +0000)
commitb5a0187b12524d2c1e6ac96e81715d1e70bbe0ad
tree8da5745be3540eebe457403fca487d040edd61be
parent43fe245b37c3cd36d837aab9eb98551328d30141
Diagnose attempts to declare a non-static data member with a
non-identifier name. Fixes PR10839.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141513 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclCXX.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/p3-0x.cpp
test/SemaCXX/overloaded-operator-decl.cpp