[PATCH] D155529: [clang-format] Add SpaceInParensOption for __attribute__ keyword
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 17 17:48:13 PDT 2023
owenpan added inline comments.
================
Comment at: clang/include/clang/Format/Format.h:4208-4213
+ /// Put a space in parentheses inside attribute specifier lists.
+ /// \code
+ /// true: false:
+ /// __attribute__(( noreturn )) vs. __attribute__((noreturn))
+ /// \endcode
+ bool InAttributeSpecifierLists;
----------------
This should be covered by `SpacesInParetheses`, so we really should not have a special option for `__attribute__`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155529/new/
https://reviews.llvm.org/D155529
More information about the cfe-commits
mailing list