aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2020-09-04 19:19:20 -0700
committerFangrui Song <i@maskray.me>2020-09-08 10:12:05 -0700
commit2d7fd38cf7db18edbbfa0e6dfb7454a255171867 (patch)
tree21941ee1b4b249033c1c2cdbea1e71c38232c1e9 /clang/lib/Frontend/CompilerInvocation.cpp
parent97e77ac0ed80877cda58b1dddf98890cc7b0d167 (diff)
downloadllvm-2d7fd38cf7db18edbbfa0e6dfb7454a255171867.zip
llvm-2d7fd38cf7db18edbbfa0e6dfb7454a255171867.tar.gz
llvm-2d7fd38cf7db18edbbfa0e6dfb7454a255171867.tar.bz2
[sanitizers] Remove unneeded MaybeCall*DefaultOptions() and nullptr checks
D28596 added SANITIZER_INTERFACE_WEAK_DEF which can guarantee `*_default_options` are always defined. The weak attributes on the `__{asan,lsan,msan,ubsan}_default_options` declarations can thus be removed. `MaybeCall*DefaultOptions` no longer need nullptr checks, so their call sites can just be replaced by `__*_default_options`. Reviewed By: #sanitizers, vitalybuka Differential Revision: https://reviews.llvm.org/D87175
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions