]> granicus.if.org Git - clang/commit
Diagnose C++ [class.mem]p13-14, where a class member has the same name
authorDouglas Gregor <dgregor@apple.com>
Fri, 15 Oct 2010 13:21:21 +0000 (13:21 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 15 Oct 2010 13:21:21 +0000 (13:21 +0000)
commita6e937ce32474934778346f4d51c3beec40e77ec
tree34b1e54fd8713891fbb7e5a6666f18a484c49be7
parent2fb985bdda20037bda228628acd4cbaa8a3b36ac
Diagnose C++ [class.mem]p13-14, where a class member has the same name
as the class itself. Fixes PR7082.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116573 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclCXX.cpp
test/CXX/class/class.mem/p13.cpp [new file with mode: 0644]
test/CXX/class/class.mem/p14.cpp [new file with mode: 0644]
test/SemaCXX/constructor.cpp