================
Comment at: lib/Sema/SemaDeclCXX.cpp:4385
@@ +4384,3 @@
+    NewAttr->setInherited(true);
+    Member->addAttr(NewAttr);
+
----------------
Reid Kleckner wrote:
> We shouldn't be adding these attributes to FieldDecls.  I suppose we want to 
> export nested classes, though.
I'd use a whitelist and only propagate it to methods and static data members. 
Nested classes aren't automatically exported or imported.

http://reviews.llvm.org/D3877



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to