erichkeane added a comment.

LGTM, thanks for the clarification!



================
Comment at: clang/test/Sema/attr-cpuspecific.c:133
 
-// FIXME: Declaration of a non-overloadable function when more than one
-// FIXME: multiversion function declarations are present results in an
-// FIXME: assertion failure.
 int __attribute__((cpu_dispatch(generic))) bad_overload3(void);
 int __attribute__((cpu_specific(ivybridge))) bad_overload3(void);
----------------
tahonermann wrote:
> erichkeane wrote:
> > In what way is this test different than bad_overload1?
> `bad_overload1` has `cpu_specific` in both declarations while the 
> declarations for `bad_overload3` exercise both `cpu_dispatch` and 
> `cpu_specific`. 
Ah!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121959/new/

https://reviews.llvm.org/D121959

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

Reply via email to