aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorDavid Goldman <davg@google.com>2022-03-21 13:45:21 -0400
committerDavid Goldman <davg@google.com>2022-03-31 11:08:01 -0400
commitd9739f29cdd4c066763275d09e1d26ee315cfdf5 (patch)
tree737164056639067b899dcdc3c19a6d784d061202 /lldb/source/Commands/CommandObjectProcess.cpp
parent1711020c3769d38e146c2c116376a2255630613a (diff)
downloadllvm-d9739f29cdd4c066763275d09e1d26ee315cfdf5.zip
llvm-d9739f29cdd4c066763275d09e1d26ee315cfdf5.tar.gz
llvm-d9739f29cdd4c066763275d09e1d26ee315cfdf5.tar.bz2
Serialize PragmaAssumeNonNullLoc to support preambles
Previously, if a `#pragma clang assume_nonnull begin` was at the end of a premable with a `#pragma clang assume_nonnull end` at the end of the main file, clang would diagnose an unterminated begin in the preamble and an unbalanced end in the main file. With this change, those errors no longer occur and the case above is now properly handled. I've added a corresponding test to clangd, which makes use of preambles, in order to verify this works as expected. Differential Revision: https://reviews.llvm.org/D122179
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
0 files changed, 0 insertions, 0 deletions