[PATCH] D47956: [MS] Consder constexpr globals to be inline, as in C++17
Reid Kleckner via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 8 11:25:43 PDT 2018
rnk created this revision.
rnk added a reviewer: thakis.
Microsoft seems to do this regardless of the language mode, so we must
also do it in order to be ABI compatible.
Fixes PR36125
https://reviews.llvm.org/D47956
Files:
clang/lib/Sema/SemaDecl.cpp
clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p1.cpp
clang/test/SemaCXX/cxx1y-variable-templates_in_class.cpp
clang/test/SemaCXX/dllexport.cpp
clang/test/SemaCXX/dllimport.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47956.150546.patch
Type: text/x-patch
Size: 23967 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180608/91e4be00/attachment-0001.bin>
More information about the cfe-commits
mailing list