]> granicus.if.org Git - clang/commit
Fix PR3855. When we encounter an incompatible redeclaration of a
authorDouglas Gregor <dgregor@apple.com>
Mon, 23 Mar 2009 17:47:24 +0000 (17:47 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 23 Mar 2009 17:47:24 +0000 (17:47 +0000)
commit374e156647e4250274eb66102839abf0ee9d7fe8
tree529374c0668c4f02ada0d2704a88c6a5f8e3a7e9
parentf1538de18370c202263d7d1bc326cbc2c5434e1d
Fix PR3855. When we encounter an incompatible redeclaration of a
library function, accept this declaration and pretend that we do not
know that this is a library function. autoconf depends on this
(broken) behavior.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67541 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
test/Sema/implicit-builtin-decl.c
test/Sema/implicit-builtin-redecl.c