[all-commits] [llvm/llvm-project] 49832b: Stop trying to fixup 'overloadable' prototypeless ...

Erich Keane via All-commits all-commits at lists.llvm.org
Thu Sep 15 12:11:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 49832b7a928d4971417d8dba9aba932d62e447e3
      https://github.com/llvm/llvm-project/commit/49832b7a928d4971417d8dba9aba932d62e447e3
  Author: Erich Keane <erich.keane at intel.com>
  Date:   2022-09-15 (Thu, 15 Sep 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaDecl.cpp
    M clang/test/Sema/overloadable.c

  Log Message:
  -----------
  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.




More information about the All-commits mailing list