]> granicus.if.org Git - clang/commitdiff
Remove transient code I did not mean to check in.
authorTed Kremenek <kremenek@apple.com>
Tue, 8 Oct 2013 18:04:56 +0000 (18:04 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 8 Oct 2013 18:04:56 +0000 (18:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192211 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaDecl.cpp

index 1a0a58dd0fec383cbf213fcb8f748c2898060e09..ba1822cfc43fac19a039fc2f4bea38cb746b70d8 100644 (file)
@@ -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.