commit | 0ed7d24f7a3b25b16268b0aaa5492d6c67270324 | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Wed Oct 04 16:12:37 2017 -0700 |
committer | Stephen Hines <srhines@google.com> | Mon Oct 30 16:00:44 2017 +0000 |
tree | 81c6431dfbc1004ca411596bfc86f795b6728ba7 | |
parent | 047a24ac5ce1a5444eea5261193f84a9a48bde67 [diff] [blame] |
Switch to clang-4393122. Bug: http://b/62580008 Bug: http://b/68236239 Bug: http://b/68236396 Test: https://goto.google.com/clang-4393122-testing Change-Id: Ib6bcf93e356172aad2a762b730a6f93916a5d845
diff --git a/cc/config/clang.go b/cc/config/clang.go index 64bb96e..6f08fa9 100644 --- a/cc/config/clang.go +++ b/cc/config/clang.go
@@ -97,6 +97,12 @@ // http://b/29823425 Disable -Wexpansion-to-defined for Clang update to r271374 "-Wno-expansion-to-defined", + // http://b/68236239 Allow 0/NULL instead of using nullptr everywhere. + "-Wno-zero-as-null-pointer-constant", + + // http://b/68236396 Allow unknown warning options. + "-Wno-unknown-warning-option", + // http://b/36463318 Clang executes with an absolute path, so clang-provided // headers are now absolute. "-fdebug-prefix-map=$$PWD/=",