https://bugs.llvm.org/show_bug.cgi?id=50465

            Bug ID: 50465
           Summary: [clang-cl] MSVC to add /std:c++20 soon
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
          Assignee: unassignedclangb...@nondot.org
          Reporter: ca...@carter.net
                CC: llvm-bugs@lists.llvm.org, neeil...@live.com,
                    richard-l...@metafoo.co.uk

MSVC will be adding the `/std:c++20` option in our 16.11 release. More
precisely, you could say we'll rename the existing `/std:c++latest` to
`/std:c++20` (which defines `_MSVC_LANG` to C++20's __cplusplus value of
`202002L`) and then add a new `/std:c++latest` option which defines
`_MSVC_LANG` to `202004L`. (I have no idea how the compiler team chose
`202004L`, but I suppose it doesn't matter as long as the value is `> 202002L`.
Perhaps https://xkcd.com/221/?)

clang-cl should be updated to have the same behavior in the next release.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to