Properly identify builtins in a diagnostic note
authorAaron Ballman <aaron@aaronballman.com>
Fri, 15 Apr 2022 15:45:52 +0000 (11:45 -0400)
committerAaron Ballman <aaron@aaronballman.com>
Fri, 15 Apr 2022 15:46:13 +0000 (11:46 -0400)
commitc7d4a05228090cb6b1b7f6e5d300f197897ac756
treedfca1f4ee962df01493281a266c12e88ef83faaa
parent52e6a27690ca8e5f07cc646716c3736475b7746b
Properly identify builtins in a diagnostic note

When emitting a "conflicting types" warning for a function declaration,
it's more clear to diagnose the previous declaration specifically as
being a builtin if it one.
clang/lib/Sema/SemaDecl.cpp
clang/test/Sema/prototype-redecls.c