[PATCH] D93844: [clang-format] Add possibility to be based on parent directory

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 18 02:38:57 PST 2021


MyDeveloperDay added a comment.

What I can't easily tell from the tests is if you are overriding any styles defined in the parent with a local style.



================
Comment at: clang/include/clang/Format/Format.h:57
+  // the parent directories. It is not part of the actual style for formatting.
+  // Thus the // instead of ///.
+  bool InheritsParentConfig;
----------------
I don't quite understand this last sentence


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93844



More information about the cfe-commits mailing list