[clang] [WIP][Safe Buffers] Serialize unsafe_buffer_usage pragmas (PR #92031)
Artem Dergachev via cfe-commits
cfe-commits at lists.llvm.org
Wed May 15 13:38:45 PDT 2024
================
@@ -1551,6 +1567,58 @@ bool Preprocessor::isPPInSafeBufferOptOutRegion(SourceLocation &StartLoc) {
return InSafeBufferOptOutRegion;
}
+SmallVector<SourceLocation, 64>
+Preprocessor::serializeSafeBufferOptOutMap() const {
+ assert(!InSafeBufferOptOutRegion &&
----------------
haoNoQ wrote:
Yeah in this case we need to support the situation when the warning was ignored.
https://github.com/llvm/llvm-project/pull/92031
More information about the cfe-commits
mailing list