[PATCH] D120712: [clang-format][docs] handle explicit enum values

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 1 04:37:05 PST 2022


MyDeveloperDay added a comment.

I'm not quite sure how I feel about adding functionality that doesn't actually do anything.



================
Comment at: clang/docs/tools/dump_format_style.py:174-175
     return '* ``%s`` (in configuration: ``%s``)\n%s' % (
-        self.name,
-        re.sub('.*_', '', self.config),
+        self.clean_name,
+        self.clean_config,
         doxygen2rst(indent(self.comment, 2)))
----------------
Feels like there is repetition here


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120712



More information about the cfe-commits mailing list