Stop trying to fixup 'overloadable' prototypeless functions.
authorErich Keane <erich.keane@intel.com>
Thu, 15 Sep 2022 19:07:23 +0000 (12:07 -0700)
committerErich Keane <erich.keane@intel.com>
Thu, 15 Sep 2022 19:10:54 +0000 (12:10 -0700)
commit49832b7a928d4971417d8dba9aba932d62e447e3
tree40457ff7ab9a4f944718aafc1ad4fbaea5526cbe
parent4b004a0b839cf2f3cede9a07a998657cd33fe75d
Stop trying to fixup 'overloadable' prototypeless functions.

While investigating something else, I discovered that a prototypeless
function with 'overloadable' was having the attribute left on the
declaration, which caused 'ambiguous' call errors later on. This lead to
some confusion.  This patch removes the 'overloadable' attribute from
the declaration and leaves it as prototypeless, instead of trying to
make it variadic.
clang/docs/ReleaseNotes.rst
clang/lib/Sema/SemaDecl.cpp
clang/test/Sema/overloadable.c