rjmccall added a comment.

I really dislike this particular idiom.

This is probably the most reasonable short-term solution to this problem.  I do 
wonder if we should just shift to making Sema track a symbol-to-GD map, though, 
and maybe make Sema entirely responsible for pushing entities to IRGen to emit.



================
Comment at: test/Sema/alias-unused.c:3
+// expected-no-diagnostics
+int f() { return 42; }
+int g() __attribute__((alias("f")));
----------------
Is this meant to be `static`?


Repository:
  rC Clang

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

https://reviews.llvm.org/D54188



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

Reply via email to