aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorDmitriy Chestnykh <dm.chestnykh@gmail.com>2024-07-02 04:59:24 +0300
committerGitHub <noreply@github.com>2024-07-01 18:59:24 -0700
commit0330ce99c2992a26ed55a867b825763966034634 (patch)
tree27815eac438beb9e820144f15fe9bf53d581d902 /clang/lib/Frontend/InitPreprocessor.cpp
parenta833fa7d3ef0ca993e7e788b45349c3246e2995e (diff)
downloadllvm-0330ce99c2992a26ed55a867b825763966034634.zip
llvm-0330ce99c2992a26ed55a867b825763966034634.tar.gz
llvm-0330ce99c2992a26ed55a867b825763966034634.tar.bz2
[compiler-rt] Remove redundant checks. (#95753)
Since `__sancov_default_options` and `__asan_default_suppressions` are weak definitions, not weak references (declarations) the checks of equality of addresses of these symbols to zero is not needed. So we can completely remove `MaybeCallSancovDefaultOptions` and use `__sancov_default_options` instead directly. gcc-14 emits `-Waddress` warning to such checks.
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions