[PATCH] D13925: Implement __attribute__((internal_linkage))

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 4 11:19:30 PST 2015


rsmith added inline comments.

================
Comment at: test/CodeGenCXX/attribute_internal_linkage.cpp:34-35
@@ +33,4 @@
+
+__attribute__((internal_linkage)) void A::f3() {
+}
+
----------------
We should reject this. We're just causing problems for ourselves if we allow the linkage to change on a redeclaration.


Repository:
  rL LLVM

http://reviews.llvm.org/D13925





More information about the cfe-commits mailing list