[PATCH] D72326: [clang-format] Rebased on master: Add option to specify explicit config file

Zhao Wei Liew via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 24 00:40:07 PST 2021


zwliew added a comment.

On further thought, the logic for `loadConfigFile()` looks incomplete. It does not properly handle the `InheritParentConfig` argument for `BasedOnStyle`. In fact, `loadConfigFile()` should probably use the same logic as that for `-style=file`. I can look into making this change, and possibly refactoring the code to reduce code duplication.


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

https://reviews.llvm.org/D72326



More information about the cfe-commits mailing list