| Index: build/config/compiler/BUILD.gn
 | 
| diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
 | 
| index 56b79b560b4c67e730e1bcbc5db6519626b633b4..9d98fec96054e107efc0d57a920f0c0b6ab1060b 100644
 | 
| --- a/build/config/compiler/BUILD.gn
 | 
| +++ b/build/config/compiler/BUILD.gn
 | 
| @@ -925,6 +925,17 @@ if (is_clang) {
 | 
|        # TODO(hans): Get this cleaned up, http://crbug.com/428099
 | 
|        "-Wno-inconsistent-missing-override",
 | 
|      ]
 | 
| +
 | 
| +    if (exec_script("//tools/clang/scripts/update.py",
 | 
| +                    [ "--print-revision" ],
 | 
| +                    "trim string") != "239674-1") {
 | 
| +      default_warning_flags += [
 | 
| +        # TODO(thakis): Move this into outer if once clang is rolled far enough
 | 
| +        # that the pinned clang understands this flag.
 | 
| +        # TODO(thakis): Enable this, crbug.com/507717
 | 
| +        "-Wno-shift-negative-value",
 | 
| +      ]
 | 
| +    }
 | 
|    }
 | 
|  }
 | 
|  
 | 
| 
 |