]> granicus.if.org Git - clang/commitdiff
Remove a diagnostic (temporary hack that will be removed next week).
authorSteve Naroff <snaroff@apple.com>
Fri, 23 May 2008 20:57:38 +0000 (20:57 +0000)
committerSteve Naroff <snaroff@apple.com>
Fri, 23 May 2008 20:57:38 +0000 (20:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51498 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaDecl.cpp

index 38dbb9b09ac0c7ee4f3253933a728b70d8d72b65..f8153289b2b0a25d3c4b4952c33b9a3b10d289ce 100644 (file)
@@ -258,8 +258,10 @@ TypedefDecl *Sema::MergeTypeDefDecl(TypedefDecl *New, Decl *OldD) {
   // TODO: CHECK FOR CONFLICTS, multiple decls with same name in one scope.
   // TODO: This is totally simplistic.  It should handle merging functions
   // together etc, merging extern int X; int X; ...
-  Diag(New->getLocation(), diag::err_redefinition, New->getName());
-  Diag(Old->getLocation(), diag::err_previous_definition);
+  // FIXME: temporarily removing this diagnostic (5/23/08). Will put back
+  // next week (which the .i file FIXME above is nailed).
+  //Diag(New->getLocation(), diag::err_redefinition, New->getName());
+  //Diag(Old->getLocation(), diag::err_previous_definition);
   return New;
 }