https://bugs.llvm.org/show_bug.cgi?id=36125
Bug ID: 36125
Summary: Clang-cl /std:c++14 does not inline constexpr
constants
Product: clang
Version: 5.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangb...@nondot.org
Reporter: jva...@gmail.com
CC: llvm-bugs@lists.llvm.org
Created attachment 19759
--> https://bugs.llvm.org/attachment.cgi?id=19759&action=edit
Reproduction
MSVC 2015 seems to implement inline constexpr variables when compiling with
/std:c++14 (default)
When compiling the same source with clang-cl, this behavior is only available
when using /std:c++latest (or std:c++17)
See reproduction in attachment, where the MSVC2015 case produces an executable,
while Clang gives an error.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs