- User Since
- Jul 11 2019, 8:28 AM (67 w, 6 d)
Aug 22 2019
The more I think about this, the more I have doubts about whether this should be supported. For example, what happens in cases like this?:
I agree here. There does appear to be some previous discussion on this matter, but the spec itself still doesn't contain any language addressing this issue. I will submit a core issue.
Aug 20 2019
Use SourceManager to order inits.
Aug 19 2019
I think this should order the initializers deterministically according to their var declaration order. Let me know if there's something I haven't considered.
Aug 17 2019
Aug 16 2019
Use range-based version of llvm::sort
I've updated the patch to initialize, in the proper order, all foreign static TLS variables and the variables they depend on for initialization. I've also cleaned up the patch a bit.
Aug 13 2019
Aug 12 2019
Jul 18 2019
Jul 17 2019
Added a lit test.