aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Format/Format.cpp
diff options
context:
space:
mode:
authorOwen Pan <owenpiano@gmail.com>2025-07-24 09:38:43 -0700
committerGitHub <noreply@github.com>2025-07-24 09:38:43 -0700
commit97c953406d68357dddb8b624cd32c8e435a9fcfb (patch)
tree83f9e1de99647d26c4e9a196f47fff50587579ad /clang/lib/Format/Format.cpp
parentf79efa986d61700d3fcfd22390bc1aa17d0d454c (diff)
downloadllvm-97c953406d68357dddb8b624cd32c8e435a9fcfb.zip
llvm-97c953406d68357dddb8b624cd32c8e435a9fcfb.tar.gz
llvm-97c953406d68357dddb8b624cd32c8e435a9fcfb.tar.bz2
[clang-format] Add AfterNot to SpaceBeforeParensOptions (#150367)
Closes #149971
Diffstat (limited to 'clang/lib/Format/Format.cpp')
-rw-r--r--clang/lib/Format/Format.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index 62feb3d..f247af6 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/lib/Format/Format.cpp
@@ -731,6 +731,7 @@ template <> struct MappingTraits<FormatStyle::SpaceBeforeParensCustom> {
IO.mapOptional("AfterFunctionDeclarationName",
Spacing.AfterFunctionDeclarationName);
IO.mapOptional("AfterIfMacros", Spacing.AfterIfMacros);
+ IO.mapOptional("AfterNot", Spacing.AfterNot);
IO.mapOptional("AfterOverloadedOperator", Spacing.AfterOverloadedOperator);
IO.mapOptional("AfterPlacementOperator", Spacing.AfterPlacementOperator);
IO.mapOptional("AfterRequiresInClause", Spacing.AfterRequiresInClause);