aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-08-10 18:47:45 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-08-10 18:47:45 +0000
commit2ac8d40a031fefd2e04900a4f27bb9360672c184 (patch)
tree0508233839893f782d299291175d04d5bf8be690
parentd297dca01444049e3b37f22cebb400642ff3ed7b (diff)
parent3d55563fadf4e1f12c4bf21c089f5916860d737e (diff)
downloadclang-2ac8d40a031fefd2e04900a4f27bb9360672c184.tar.gz
Merge "Suppress non-critical warnings in external/clang."android-o-iot-preview-5o-iot-preview-5
-rw-r--r--Android.bp5
-rw-r--r--utils/TableGen/Android.bp3
2 files changed, 8 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 009ab86aae..c82ac88d3f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -11,6 +11,7 @@ cc_defaults {
"-pedantic",
"-Wcast-qual",
"-Wno-long-long",
+ "-Wno-unused-lambda-capture",
],
include_dirs: [
@@ -18,6 +19,10 @@ cc_defaults {
"external/clang/lib/CodeGen",
],
+ tidy_checks: [
+ "-google-runtime-member-string-references",
+ ],
+
target: {
windows: {
enabled: true,
diff --git a/utils/TableGen/Android.bp b/utils/TableGen/Android.bp
index 4f93d60b18..cd86cbc16f 100644
--- a/utils/TableGen/Android.bp
+++ b/utils/TableGen/Android.bp
@@ -8,6 +8,9 @@ cc_binary_host {
"libLLVMSupport",
],
+ tidy_checks: [
+ "-google-runtime-member-string-references",
+ ],
host_ldlibs: ["-lm"],
target: {
windows: {