summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/initializers.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug 37903:MS ABI: handle inline static data member and inline variable ↵Jennifer Yu2019-04-251-1/+0
| | | | | | as template static data member llvm-svn: 359212
* [modules] Fix handling of initializers for templated global variables.Richard Smith2019-02-051-0/+242
For global variables with unordered initialization that are instantiated within a module, we previously did not emit the global (or its initializer) at all unless it was used in the importing translation unit (and sometimes not even then!), leading to misbehavior and link errors. We now emit the initializer for an instantiated global variable with unordered initialization with side-effects in a module into every translation unit that imports the module. This is unfortunate, but mostly matches the behavior of a non-modular compilation and seems to be the best that we can reasonably do. llvm-svn: 353240
OpenPOWER on IntegriCloud