[llvm-bugs] [Bug 44939] New: Support -std=c++20/gnu++20

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Feb 17 10:24:39 PST 2020


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

            Bug ID: 44939
           Summary: Support -std=c++20/gnu++20
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++2a
          Assignee: unassignedclangbugs at nondot.org
          Reporter: romain.geissler at amadeus.com
                CC: blitzrakete at gmail.com, erik.pilkington at gmail.com,
                    llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk

Hi,

C++20 was marked as (technically) done at the Prague meeting last week, so now
there is no need to call this standard C++2a, it is officially C++20. Thus
clang should accept -std=c++20/gnu++20 which doesn't seem to be the case with
the current trunk (at least on Compiler Explorer). gcc has added this very
recently with this commit:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=fb26050409473f5be54465beca114b7e48de43aa

I also think this is a possible candidate for a backport into the soon to be
released Clang 10.

Cheers,
Romain

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200217/7f7309b0/attachment-0001.html>


More information about the llvm-bugs mailing list