diff options
author | Chih-Hung Hsieh <chh@google.com> | 2017-01-26 18:47:14 -0800 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2017-01-26 18:47:14 -0800 |
commit | fca7aac5ecd995085b71a4d90b4862f68fbaeb45 (patch) | |
tree | 9589533ab024714d5b6fcda9a13919d203698559 /tools/incident_report | |
parent | 9e77aefe9ce2c3caa8c0daebf21c86088e10b951 (diff) |
Work around clang-tidy segmentation fault.
This should affect only builds that call clang-tidy.
Without this change, clang-tidy has segmentation fault
when compiling several files in the incident_* directories.
Bug: 34740546
Test: build with WITH_TIDY=1 and
DEFAULT_GLOBAL_TIDY_CHECKS="*,-readability-*,-google-readability-*,-google-runtime-references"
Change-Id: Idfd46f36c01ccdd401eb54b750bc9d962c29ddeb
Diffstat (limited to 'tools/incident_report')
-rw-r--r-- | tools/incident_report/Android.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/incident_report/Android.mk b/tools/incident_report/Android.mk index 9e56e3d7eeaf..e57a95949e5a 100644 --- a/tools/incident_report/Android.mk +++ b/tools/incident_report/Android.mk @@ -34,6 +34,9 @@ LOCAL_SHARED_LIBRARIES := \ libplatformprotos \ libprotobuf-cpp-full +# b/34740546, work around clang-tidy segmentation fault. +LOCAL_TIDY_CHECKS := -modernize* + LOCAL_C_FLAGS := \ -Wno-unused-parameter include $(BUILD_HOST_EXECUTABLE) |