diff options
| author | Steve Naroff <snaroff@apple.com> | 2008-05-23 20:57:38 +0000 |
|---|---|---|
| committer | Steve Naroff <snaroff@apple.com> | 2008-05-23 20:57:38 +0000 |
| commit | c11802a521b48dc3626fcaac3ff73f5847acd33e (patch) | |
| tree | 30dbf85fcb157a25e2d97909696ab0054136c9ad | |
| parent | 37f5b7d39ca1915256113f3101b3e4d36e30b6da (diff) | |
| download | bcm5719-llvm-c11802a521b48dc3626fcaac3ff73f5847acd33e.tar.gz bcm5719-llvm-c11802a521b48dc3626fcaac3ff73f5847acd33e.zip | |
Remove a diagnostic (temporary hack that will be removed next week).
llvm-svn: 51498
| -rw-r--r-- | clang/lib/Sema/SemaDecl.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index 38dbb9b09ac..f8153289b2b 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/lib/Sema/SemaDecl.cpp @@ -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; } |

