summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-02-18 22:00:45 +0000
committerDouglas Gregor <dgregor@apple.com>2009-02-18 22:00:45 +0000
commit222e5e4ad227b95d59bf12a66d97b2c47a3ef615 (patch)
treedcdcbd5fc9ff3437f2401407a841b8a5456482d7 /clang/lib/Sema
parent1045289881a0e3cad125bf420c26b91a3b245a17 (diff)
downloadbcm5719-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.cpp2
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;
OpenPOWER on IntegriCloud