Revert functional part of r166896 and just suppress -Wunneeded-internal-declaration...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 28 Oct 2012 07:39:29 +0000 (07:39 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 28 Oct 2012 07:39:29 +0000 (07:39 +0000)
commit59a8e49f01ee7ef465deced6f86ef6d0ee9b9319
treefa208146d2a4e32d846bcef7ab124e25ebf86db1
parent2f36dae5c01d46c8c71af594601f125a604226a1
Revert functional part of r166896 and just suppress -Wunneeded-internal-declaration for reference types for now. This needs more work; the cases we currently miss are a bit random.

llvm-svn: 166899
clang/lib/Sema/SemaDecl.cpp
clang/test/SemaCXX/warn-unused-filescoped.cpp