HomePhabricator

Add an explicit toggle for the static analyzer in clang-tidy

Authored by thakis on Sep 3 2020, 4:37 PM.

Description

Add an explicit toggle for the static analyzer in clang-tidy

Instead of using CLANG_ENABLE_STATIC_ANALYZER for use of the
static analyzer in both clang and clang-tidy, add a second
toggle CLANG_TIDY_ENABLE_STATIC_ANALYZER.

This allows enabling the static analyzer in clang-tidy while
disabling it in clang.

Differential Revison: https://reviews.llvm.org/D87118

Details

Committed
thakisSep 10 2020, 7:48 AM
Parents
rG018f6936dbce: [MLIR][Standard] Simplify `tensor_from_elements`
Branches
Unknown
Tags
Unknown