HomePhabricator

[dfsan] Fix clang-tidy warnings

Authored by gbalats on Mar 2 2021, 2:56 PM.

Description

[dfsan] Fix clang-tidy warnings

This addresses ~50 clang-tidy warnings on dfsan instrumentation pass.
It also contains some refactoring (all non-functional changes) to eliminate some variables and simplify code.

Reviewed By: stephan.yichao.zhao

Differential Revision: https://reviews.llvm.org/D97714

Details