Use the pragma only when clang is defined.
Fixes:
sanitizer_common_libcdep.cpp:101: warning: ignoring ‘#pragma clang diagnostic’ [-Wunknown-pragmas]
Paths
| Differential D124829
sanitizer: use pragma clang conditionally ClosedPublic Authored by marxin on May 3 2022, 1:20 AM.
Details
Summary Use the pragma only when clang is defined. Fixes:
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 3 2022, 2:15 AM This revision was landed with ongoing or failed builds.May 3 2022, 2:34 AM Closed by commit rGf496a0eba4f7: sanitizer: use pragma clang conditionally (authored by marxin). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 426617 compiler-rt/lib/sanitizer_common/sanitizer_common_libcdep.cpp
|