summaryrefslogtreecommitdiff
path: root/python/builder.go
diff options
context:
space:
mode:
author George Burgess IV <gbiv@google.com> 2017-05-03 18:13:08 -0700
committer George Burgess IV <gbiv@google.com> 2017-05-04 01:19:02 +0000
commit561a3fe4af34038b8b4ab4293273b84fbfca13b3 (patch)
tree6631ada2a15a8446e67b538b4da7f3c16bf0cbf3 /python/builder.go
parent0e409a2810f360595fe741ab33792e618caec378 (diff)
soong: add __clang_analyzer__ to clang-tidy
We have code that acts slightly differently when the static analyzer is running, so that it can produce more accurate diagnostics (e.g. less false positives). It uses __clang_analyzer__ to detect the static analyzer. When the static analyzer is run via clang-tidy, __clang_analyzer__ doesn't get defined. Bug: None Test: WITH_TIDY=1 m. clang-tidy now acts as expected in code made for the static analyzer Change-Id: I460ff410640524633c0a60b71d34927d17e1ed98
Diffstat (limited to 'python/builder.go')
0 files changed, 0 insertions, 0 deletions