diff options
| author | Emilia Dreamer <emilia@rymiel.space> | 2022-09-05 12:19:31 +0200 |
|---|---|---|
| committer | Björn Schäpers <bjoern@hazardy.de> | 2022-09-05 12:35:39 +0200 |
| commit | f54d42abcf82e122ed0ac4688f01c1f4da5599f2 (patch) | |
| tree | 7c48dea76a84c275529db67d66aab2d32ed6a13a /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
| parent | 84c4efbc6d61ec2bed9e9bc64b5829b4487b210c (diff) | |
| download | llvm-f54d42abcf82e122ed0ac4688f01c1f4da5599f2.zip llvm-f54d42abcf82e122ed0ac4688f01c1f4da5599f2.tar.gz llvm-f54d42abcf82e122ed0ac4688f01c1f4da5599f2.tar.bz2 | |
[clang-format] Don't put `noexcept` on empty line following constructor
With the AlwaysBreakTemplateDeclarations option, having a constructor
template for a type consisting of all-uppercase letters with a
noexcept specifier would put said noexcept specifier on its own blank
line.
This is because the all-uppercase type is understood as a macro-like
attribute (such as DEPRECATED()), and noexcept is seen as the
declaration. However, noexcept is a keyword and cannot be an
identifier on its own.
Fixes https://github.com/llvm/llvm-project/issues/56216
Differential Revision: https://reviews.llvm.org/D132189
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions
