aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp
diff options
context:
space:
mode:
authorArtem Dergachev <adergachev@apple.com>2023-11-28 14:37:27 -0800
committerArtem Dergachev <adergachev@apple.com>2023-12-13 18:09:16 -0800
commitef3f476097c7a13c0578e331e44b584b706089ed (patch)
treeba2e2d02031e64cef056033cb901547930e95947 /llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp
parentc76c00f8669415a7a9c8de0a51514f362cec75bc (diff)
downloadllvm-ef3f476097c7a13c0578e331e44b584b706089ed.zip
llvm-ef3f476097c7a13c0578e331e44b584b706089ed.tar.gz
llvm-ef3f476097c7a13c0578e331e44b584b706089ed.tar.bz2
[attributes][analyzer] Implement [[clang::suppress]] - suppress static analysis warnings.
The new attribute can be placed on statements in order to suppress arbitrary warnings produced by static analysis tools at those statements. Previously such suppressions were implemented as either informal comments (eg. clang-tidy `// NOLINT:`) or with preprocessor macros (eg. clang static analyzer's `#ifdef __clang_analyzer__`). The attribute provides a universal, formal, flexible and neat-looking suppression mechanism. Implement support for the new attribute in the clang static analyzer; clang-tidy coming soon. The attribute allows specifying which specific warnings to suppress, in the form of free-form strings that are intended to be specific to the tools, but currently none are actually supported; so this is also going to be a future improvement. Differential Revision: https://reviews.llvm.org/D93110
Diffstat (limited to 'llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp')
0 files changed, 0 insertions, 0 deletions