diff options
author | Ted Kremenek <kremenek@apple.com> | 2013-10-08 18:04:56 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2013-10-08 18:04:56 +0000 |
commit | 256b29cbaa8539ac3e31742b573571281be6d22c (patch) | |
tree | a065b278565cc0b20d993b0a3cb9eaa403561d60 /clang/lib/Sema/SemaDecl.cpp | |
parent | adef7542974a0c576b6ef166475bedd772477452 (diff) | |
download | bcm5719-llvm-256b29cbaa8539ac3e31742b573571281be6d22c.tar.gz bcm5719-llvm-256b29cbaa8539ac3e31742b573571281be6d22c.zip |
Remove transient code I did not mean to check in.
llvm-svn: 192211
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
-rw-r--r-- | clang/lib/Sema/SemaDecl.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index 1a0a58dd0fe..ba1822cfc43 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/lib/Sema/SemaDecl.cpp @@ -5433,18 +5433,6 @@ void Sema::CheckShadow(Scope *S, VarDecl *D, const LookupResult& R) { if (D->hasGlobalStorage()) return; - // Don't diagnose variables whose declarations and scope are expanded - // from the same macro instantiation. - SourceLocation DLoc = D->getLocation(); - if (DLoc.isMacroID()) { - - - - - } - - - DeclContext *NewDC = D->getDeclContext(); // Only diagnose if we're shadowing an unambiguous field or variable. |