From 222e5e4ad227b95d59bf12a66d97b2c47a3ef615 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Wed, 18 Feb 2009 22:00:45 +0000 Subject: Return true on errors, return true on errors, return true on errors llvm-svn: 64957 --- clang/lib/Sema/SemaDecl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib') diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index a276f3c1cee..9cd5bc80694 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/lib/Sema/SemaDecl.cpp @@ -660,7 +660,7 @@ bool Sema::MergeFunctionDecl(FunctionDecl *New, Decl *OldD) { Diag(New->getLocation(), diag::warn_redecl_library_builtin) << New; Diag(Old->getLocation(), diag::note_previous_builtin_declaration) << Old << Old->getType(); - return false; + return true; } PrevDiag = diag::note_previous_builtin_declaration; -- cgit v1.2.3