未验证 提交 1e58794b 编写于 作者: C Chinmay Garde 提交者: GitHub

Revert "Upgrade compiler to Clang 10. (#11256)" (#13017)

This reverts commit 9ce33571.
上级 9ce33571
......@@ -136,7 +136,7 @@ allowed_hosts = [
]
deps = {
'src': 'https://github.com/flutter/buildroot.git' + '@' + '73331c60597020b7ba4743cbefef24561e32eca7',
'src': 'https://github.com/flutter/buildroot.git' + '@' + 'edd0f2d19604a7d63deb20e9c19c1412acb8a9bd',
# Fuchsia compatibility
#
......@@ -524,7 +524,7 @@ deps = {
'packages': [
{
'package': 'fuchsia/clang/${{platform}}',
'version': 'git_revision:cea8882254f97ae82867e25e736959d1cfa31896'
'version': 'git_revision:de39621f0f03f20633bdfa50bde97a3908bf6e98'
}
],
'condition': 'host_os == "mac" or host_os == "linux"',
......
......@@ -183,7 +183,7 @@ TEST_F(ShellTest, DelayAtMostOneEventForFasterThanVSyncInputEvents) {
TEST_F(ShellTest, HandlesActualIphoneXsInputEvents) {
// Actual delivery times measured on iPhone Xs, in the unit of frame_time
// (16.67ms for 60Hz).
double iphone_xs_times[] = {0.15,
constexpr double iphone_xs_times[] = {0.15,
1.0773046874999999,
2.1738720703124996,
3.0579052734374996,
......@@ -239,8 +239,8 @@ TEST_F(ShellTest, HandlesActualIphoneXsInputEvents) {
// TestSimulatedInputEvents.
UnitlessTime base_latency =
static_cast<UnitlessTime>(base_latency_f * frame_time);
Generator iphone_xs_generator = [frame_time, base_latency,
&iphone_xs_times](int i) {
Generator iphone_xs_generator = [frame_time, iphone_xs_times,
base_latency](int i) {
return base_latency +
static_cast<UnitlessTime>(iphone_xs_times[i] * frame_time);
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册