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: unassignedclangb...@nondot.org
          Reporter: romain.geiss...@amadeus.com
                CC: blitzrak...@gmail.com, erik.pilking...@gmail.com,
                    llvm-bugs@lists.llvm.org, richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to