[cfe-dev] Determining the -std=xxx option possibilities for C++ in clang releases

Edward Diener via cfe-dev cfe-dev at lists.llvm.org
Fri May 13 15:38:11 PDT 2016


On 5/13/2016 5:49 PM, Asiri Rathnayake via cfe-dev wrote:
> Wouldn't this be derivable from http://clang.llvm.org/cxx_status.html ?

That's helpful. I guess I can try -std=c++11, -std=c++14 or -std=c++1z 
on all relevant compiler versions and see if that compiler version 
accepts the option.

>
> / Asiri
>
> On Fri, May 13, 2016 at 10:31 PM, Edward Diener via cfe-dev
> <cfe-dev at lists.llvm.org
> <mailto:cfe-dev at lists.llvm.org>> wrote:
>
>     Is there any way, beyond pure experimentation, to determine the
>     possible -std=xxx possibilities for C++ compilation in past and
>     current clang releases ?
>
>     I can find no documentation, aside from C language possibilities for
>     the -std option, in either the documentation or the clang --help
>     command, for any given clang release which tells me what the
>     possible -std possibilities are for C++ compilation. I am interested
>     in the possibilities for clang 3.4 up to the present source.





More information about the cfe-dev mailing list