[PATCH] D96760: [clang-format] Suppress diagnostics on second parse
Björn Schäpers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 16 01:27:25 PST 2021
HazardyKnusperkeks added inline comments.
================
Comment at: clang/include/clang/Format/Format.h:3342-3346
inline std::error_code parseConfiguration(StringRef Config, FormatStyle *Style,
bool AllowUnknownOptions = false) {
return parseConfiguration(llvm::MemoryBufferRef(Config, "YAML"), Style,
AllowUnknownOptions);
}
----------------
On my code I would do that change too.
This way we would get all the changes to the signature without manual work.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96760/new/
https://reviews.llvm.org/D96760
More information about the cfe-commits
mailing list