diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-06-20 21:58:20 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-06-20 21:58:20 +0000 |
commit | 715ee079da4eb26fbe3c4c01cb8a3636d7a24667 (patch) | |
tree | b51de2ca3708abe665d1290b3d74ea9473b880bd /llvm/test/CodeGen/X86/tail-dup-merge-loop-headers.ll | |
parent | b45fd5cdab9c404367ee959f13bac58142b0dad0 (diff) | |
download | bcm5719-llvm-715ee079da4eb26fbe3c4c01cb8a3636d7a24667.tar.gz bcm5719-llvm-715ee079da4eb26fbe3c4c01cb8a3636d7a24667.zip |
Related to PR37768: improve diagnostics for class name shadowing.
Diagnose the name of the class being shadowed by using declarations, and
improve the diagnostics for the case where the name of the class is
shadowed by a non-static data member in a class with constructors. In
the latter case, we now always give the "member with the same name as
its class" diagnostic regardless of the relative order of the member and
the constructor, rather than giving an inscrutible diagnostic if the
constructor appears second.
llvm-svn: 335182
Diffstat (limited to 'llvm/test/CodeGen/X86/tail-dup-merge-loop-headers.ll')
0 files changed, 0 insertions, 0 deletions