george.burgess.iv added a comment.

Shortly after I pressed submit, I realized that this patch allows the following 
code if you tweak an assert to check for `overloadable` on the most recent 
redecl of a function:

  void foo(int);
  void foo(int) __attribute__((overloadable));
  void foo(float);
  void foo(float) __attribute__((overloadable));
  void foo(double);
  void foo(double) __attribute__((overloadable));

...Which is bad. I'll fix that soon. :)


https://reviews.llvm.org/D32332



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to