Merge "Bump the default from gnu++17 to gnu++20." into main
This commit is contained in:
@@ -4818,7 +4818,7 @@ func TestIncludeDirectoryOrdering(t *testing.T) {
|
|||||||
|
|
||||||
cflags := []string{"-Werror", "-std=candcpp"}
|
cflags := []string{"-Werror", "-std=candcpp"}
|
||||||
cstd := []string{"-std=gnu17", "-std=conly"}
|
cstd := []string{"-std=gnu17", "-std=conly"}
|
||||||
cppstd := []string{"-std=gnu++17", "-std=cpp", "-fno-rtti"}
|
cppstd := []string{"-std=gnu++20", "-std=cpp", "-fno-rtti"}
|
||||||
|
|
||||||
lastIncludes := []string{
|
lastIncludes := []string{
|
||||||
"out/soong/ndk/sysroot/usr/include",
|
"out/soong/ndk/sysroot/usr/include",
|
||||||
|
@@ -357,7 +357,7 @@ var (
|
|||||||
}
|
}
|
||||||
|
|
||||||
CStdVersion = "gnu17"
|
CStdVersion = "gnu17"
|
||||||
CppStdVersion = "gnu++17"
|
CppStdVersion = "gnu++20"
|
||||||
ExperimentalCStdVersion = "gnu2x"
|
ExperimentalCStdVersion = "gnu2x"
|
||||||
ExperimentalCppStdVersion = "gnu++2a"
|
ExperimentalCppStdVersion = "gnu++2a"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user