diff options
author | Emilia Dreamer <emilia@rymiel.space> | 2023-01-06 05:03:29 +0200 |
---|---|---|
committer | Emilia Dreamer <emilia@rymiel.space> | 2023-01-06 05:03:56 +0200 |
commit | 54fab18cedace085344b674ab9de2c93b5fa479b (patch) | |
tree | 1ec1eb090edc087e5b8f1e44b7a3323c3527e5f4 /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp | |
parent | 7f564882466787e5b93c9253d7dbcaf6ebd82f95 (diff) | |
download | llvm-54fab18cedace085344b674ab9de2c93b5fa479b.zip llvm-54fab18cedace085344b674ab9de2c93b5fa479b.tar.gz llvm-54fab18cedace085344b674ab9de2c93b5fa479b.tar.bz2 |
[clang-format] Require space before noexcept qualifier
This brings the noexcept qualifier more visually in line with the other
keyword qualifiers, such as "final" and "override".
Originally reported as https://github.com/llvm/llvm-project/issues/44542,
it was closed as "working by design" and reinforcing tests were added
as part of a218706cba90248be0c60bd6a8f10dbcf0270955. The exact spacing
depended on the `PointerAlignment` option, where the default value of
`Right` would leave no space.
This patch seeks to change this behaviour, regardless of the configured
`PointerAlignment` option (matching the previous behaviour of the `Left`
option).
Closes https://github.com/llvm/llvm-project/issues/59729
Reviewed By: HazardyKnusperkeks, owenpan, MyDeveloperDay
Differential Revision: https://reviews.llvm.org/D140767
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp')
0 files changed, 0 insertions, 0 deletions