[PATCH] D14467: [MS] Fix for bug 25013 - #pragma vtordisp is unknown inside functions.

Denis Zobnin via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 17 03:24:47 PST 2015


d.zobnin.bugzilla added inline comments.

================
Comment at: test/SemaCXX/pragma-vtordisp.cpp:34-35
@@ -33,6 +33,4 @@
 
 struct C {
-// FIXME: Our implementation based on token insertion makes it impossible for
-// the pragma to appear everywhere we should support it.
-//#pragma vtordisp()
+#pragma vtordisp()
   struct D : virtual A {
----------------
Yes, we can. Enabled this case, it passes with these changes.


http://reviews.llvm.org/D14467





More information about the cfe-commits mailing list