diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2025-04-23 06:55:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-23 06:55:10 -0400 |
commit | 71ce9e26aec00e4af27a69ccfab8ca1773ed7018 (patch) | |
tree | 579724cce4e4fafe9d1c6fc1647f79c235577f14 /llvm/lib/CodeGen/PrologEpilogInserter.cpp | |
parent | 2a9f77f6bd48d757b2d45aadcb6cf76ef4b4ef32 (diff) | |
download | llvm-71ce9e26aec00e4af27a69ccfab8ca1773ed7018.zip llvm-71ce9e26aec00e4af27a69ccfab8ca1773ed7018.tar.gz llvm-71ce9e26aec00e4af27a69ccfab8ca1773ed7018.tar.bz2 |
Control analysis-based diagnostics with #pragma (#136323)
Previously, analysis-based diagnostics (like -Wconsumed) had to be
enabled at file scope in order to be run at the end of each function
body. This meant that they did not respect #pragma clang diagnostic
enabling or disabling the diagnostic.
Now, these pragmas can control the diagnostic emission.
Fixes #42199
Diffstat (limited to 'llvm/lib/CodeGen/PrologEpilogInserter.cpp')
0 files changed, 0 insertions, 0 deletions