[PATCH] D86782: [clang-format] Allow configuring list of macros that map to attributes

Jessica Clarke via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 1 07:13:20 PDT 2020


jrtc27 requested changes to this revision.
jrtc27 added a comment.
This revision now requires changes to proceed.

The documentation currently shows `__capability` being included, but from looking at this patch does the configuration file not append (which I think makes sense, at least for `__capability`) rather than replace?



================
Comment at: clang/docs/ClangFormatStyleOptions.rst:776
+
+    TypeQualifiers: ['__capability', '__output', '__ununsed']
+
----------------



================
Comment at: clang/include/clang/Format/Format.h:599
+  /// \code{.yaml}
+  ///   TypeQualifiers: ['__capability', '__output', '__ununsed']
+  /// \endcode
----------------



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86782/new/

https://reviews.llvm.org/D86782



More information about the cfe-commits mailing list