[all-commits] [llvm/llvm-project] f496a0: sanitizer: use pragma clang conditionally
Martin Liška via All-commits
all-commits at lists.llvm.org
Tue May 3 02:34:46 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f496a0eba4f7983257069b0bb2c2fb4463106b49
https://github.com/llvm/llvm-project/commit/f496a0eba4f7983257069b0bb2c2fb4463106b49
Author: Martin Liska <mliska at suse.cz>
Date: 2022-05-03 (Tue, 03 May 2022)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_common_libcdep.cpp
Log Message:
-----------
sanitizer: use pragma clang conditionally
Use the pragma only when __clang__ is defined.
Fixes:
sanitizer_common_libcdep.cpp:101: warning: ignoring ‘#pragma clang diagnostic’ [-Wunknown-pragmas]
Differential Revision: https://reviews.llvm.org/D124829
More information about the All-commits
mailing list