From 153b71c4073e9512e8315673cdbd835b0646af87 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Mon, 1 Oct 2018 16:16:02 -0700 Subject: [PATCH] Work around bugprone-exception-escape bug. Bug: 117120485 Test: build with WITH_TIDY=1 and global bugprone-* checks. Change-Id: I28aa2a176bd7d2ae4961877a8122a09666d85237 --- tools/versioner/src/Android.bp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/versioner/src/Android.bp b/tools/versioner/src/Android.bp index 4b237a999..f138cc3b2 100644 --- a/tools/versioner/src/Android.bp +++ b/tools/versioner/src/Android.bp @@ -3,6 +3,9 @@ cc_binary_host { cpp_std: "gnu++17", + // b/117120485 bugprone-exception-escape hangs with DeclarationDatabase.cpp + tidy_checks: ["-bugprone-exception-escape"], + srcs: [ "versioner.cpp", "Arch.cpp",