The attached patch needs review please! I suspect that we may need to call RequireCompleteType() to do instantiation *even if* the VDecl is a dependent type. I am not yet able to reason about this though.
The patch prevents the abort, and the test case (extended with code to print initialized data) output looks the same in clang and gcc. Thanks in advance!
depdeclinit.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
