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)
llvm-svn: 192211

clang/lib/Sema/SemaDecl.cpp

index 1a0a58d..ba1822c 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.