Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Commit

Permalink
Revert work around clang-tidy segmentation fault.
Browse files Browse the repository at this point in the history
Bug: 34740546
Test: build with WITH_TIDY=1 and
WITH_TIDY_CHECKS="*,-readability-*,-google-readability-*,-google-runtime-references"

Change-Id: Ie0885744bdf07d1a66792b61d8a49305162bcd71
  • Loading branch information
yan-wang-google committed Jun 12, 2017
1 parent 9f5812c commit e725325
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
cc_library {
name: "libplatformprotos",
host_supported: true,
// b/34740546, work around clang-tidy segmentation fault.
tidy_checks: ["-modernize*"],
proto: {
export_proto_headers: true,
include_dirs: ["external/protobuf/src"],
Expand Down
3 changes: 0 additions & 3 deletions tools/incident_report/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ 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)
Expand Down
2 changes: 0 additions & 2 deletions tools/incident_section_gen/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE := incident-section-gen
# b/34740546, work around clang-tidy segmentation fault.
LOCAL_TIDY_CHECKS := -modernize*
LOCAL_CFLAGS += -g -O0
LOCAL_C_INCLUDES := \
external/protobuf/src
Expand Down

0 comments on commit e725325

Please sign in to comment.