summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2019-09-25 11:09:46 +0000
committerHans Wennborg <hans@hanshq.net>2019-09-25 11:09:46 +0000
commit4bdd51332fa2d76058aea9dcbd1c3a8766542893 (patch)
tree6c10dbb59bf8d83f2ae6dc81012846b3564292e2 /llvm/lib
parent1d06d48bb3463632ed049284dacb3d1f6715d210 (diff)
downloadbcm5719-llvm-4bdd51332fa2d76058aea9dcbd1c3a8766542893.tar.gz
bcm5719-llvm-4bdd51332fa2d76058aea9dcbd1c3a8766542893.zip
Revert r370850 "Re-commit r363191 "[MS] Pretend constexpr variable template specializations are inline""
This work-around was necessary to handle standard library headers in Visual Studio 2019 16.2. Now that 16.3 has shipped to stable, we can remove it. > Re-commit r363191 "[MS] Pretend constexpr variable template specializations are inline" > > While the next Visual Studio update (16.3) will fix this issue, that hasn't > shipped yet. Until then Clang wouldn't work with MSVC's headers which seems > unfortunate. Let's keep this in until VS 16.3 ships. (See also PR42843.) > >> Fixes link errors with clang and the latest Visual C++ 14.21.27702 >> headers, which was reported as PR42027. >> >> I chose to intentionally make these things linkonce_odr, i.e. >> discardable, so that we don't emit definitions of these things in every >> translation unit that includes STL headers. >> >> Note that this is *not* what MSVC does: MSVC has not yet implemented C++ >> DR2387, so they emit fully specialized constexpr variable templates with >> static / internal linkage. >> >> Reviewers: rsmith >> >> Differential Revision: https://reviews.llvm.org/D63175 llvm-svn: 372844
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud