Merge "Now gnu11 is the default, bump experimental to gnu17."
This commit is contained in:
commit
51cb2d9374
2 changed files with 4 additions and 4 deletions
|
@ -1914,9 +1914,9 @@ func TestCcLibraryCppStdWithGnuExtensions_ConvertsToFeatureAttr(t *testing.T) {
|
|||
{cpp_std: "gnu++17", gnu_extensions: "true", bazel_cpp_std: "gnu++17"},
|
||||
|
||||
// some c_std test cases
|
||||
{c_std: "experimental", gnu_extensions: "", bazel_c_std: "gnu11"},
|
||||
{c_std: "experimental", gnu_extensions: "false", bazel_cpp_std: "c++17", bazel_c_std: "c11"},
|
||||
{c_std: "experimental", gnu_extensions: "true", bazel_c_std: "gnu11"},
|
||||
{c_std: "experimental", gnu_extensions: "", bazel_c_std: "gnu17"},
|
||||
{c_std: "experimental", gnu_extensions: "false", bazel_cpp_std: "c++17", bazel_c_std: "c17"},
|
||||
{c_std: "experimental", gnu_extensions: "true", bazel_c_std: "gnu17"},
|
||||
{c_std: "gnu11", cpp_std: "gnu++17", gnu_extensions: "", bazel_cpp_std: "gnu++17", bazel_c_std: "gnu11"},
|
||||
{c_std: "gnu11", cpp_std: "gnu++17", gnu_extensions: "false", bazel_cpp_std: "c++17", bazel_c_std: "c11"},
|
||||
{c_std: "gnu11", cpp_std: "gnu++17", gnu_extensions: "true", bazel_cpp_std: "gnu++17", bazel_c_std: "gnu11"},
|
||||
|
|
|
@ -281,7 +281,7 @@ var (
|
|||
|
||||
CStdVersion = "gnu11"
|
||||
CppStdVersion = "gnu++17"
|
||||
ExperimentalCStdVersion = "gnu11"
|
||||
ExperimentalCStdVersion = "gnu17"
|
||||
ExperimentalCppStdVersion = "gnu++2a"
|
||||
|
||||
// prebuilts/clang default settings.
|
||||
|
|
Loading…
Reference in a new issue