diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-02-18 22:00:45 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-02-18 22:00:45 +0000 |
commit | 222e5e4ad227b95d59bf12a66d97b2c47a3ef615 (patch) | |
tree | dcdcbd5fc9ff3437f2401407a841b8a5456482d7 /clang/lib/Sema | |
parent | 1045289881a0e3cad125bf420c26b91a3b245a17 (diff) | |
download | bcm5719-llvm-222e5e4ad227b95d59bf12a66d97b2c47a3ef615.tar.gz bcm5719-llvm-222e5e4ad227b95d59bf12a66d97b2c47a3ef615.zip |
Return true on errors, return true on errors, return true on errors
llvm-svn: 64957
Diffstat (limited to 'clang/lib/Sema')
-rw-r--r-- | clang/lib/Sema/SemaDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |