aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api
diff options
context:
space:
mode:
authorEmilia Dreamer <emilia@rymiel.space>2023-03-22 20:26:38 +0200
committerEmilia Dreamer <emilia@rymiel.space>2023-03-22 20:27:17 +0200
commitead9644684e85e0611f3b0ff72926820f1277e09 (patch)
tree9fadccd168633c05e4a03d97af8980d008993ea2 /lldb/test/API/python_api
parent16b7cf245ec0ff5428daee4f71af62e1938bfc73 (diff)
downloadllvm-ead9644684e85e0611f3b0ff72926820f1277e09.zip
llvm-ead9644684e85e0611f3b0ff72926820f1277e09.tar.gz
llvm-ead9644684e85e0611f3b0ff72926820f1277e09.tar.bz2
[clang-format] Annotate noexcept, explicit specifiers as containing expressions
The noexcept specifier and explicit specifier can optionally include a boolean expression to make these specifiers apply conditionally, however, clang-format didn't set the context for the parenthesized content of these specifiers, meaning they inherited the parent context, which usually isn't an expressions, leading to misannotated binary operators. This patch applies expression context to the content of these specifiers, making them similar to the static_assert keyword. Fixes https://github.com/llvm/llvm-project/issues/44543 Reviewed By: owenpan, MyDeveloperDay Differential Revision: https://reviews.llvm.org/D146284
Diffstat (limited to 'lldb/test/API/python_api')
0 files changed, 0 insertions, 0 deletions