[cfe-commits] r51498 - /cfe/trunk/lib/Sema/SemaDecl.cpp
Steve Naroff
snaroff at apple.com
Fri May 23 13:57:39 PDT 2008
Author: snaroff
Date: Fri May 23 15:57:38 2008
New Revision: 51498
URL: http://llvm.org/viewvc/llvm-project?rev=51498&view=rev
Log:
Remove a diagnostic (temporary hack that will be removed next week).
Modified:
cfe/trunk/lib/Sema/SemaDecl.cpp
Modified: cfe/trunk/lib/Sema/SemaDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDecl.cpp?rev=51498&r1=51497&r2=51498&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDecl.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDecl.cpp Fri May 23 15:57:38 2008
@@ -258,8 +258,10 @@
// 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;
}
More information about the cfe-commits
mailing list