================ @@ -126,8 +127,15 @@ struct ClangTidyOptions { using StringPair = std::pair<std::string, std::string>; using OptionMap = llvm::StringMap<ClangTidyValue>; + struct QueryCheckValue { + std::string Source; ---------------- DeNiCoN wrote:
It is used to dump the config back. As for example in the "Check config dump" test https://github.com/llvm/llvm-project/pull/123734/files#diff-3bffe1dc09dda3286149e7d1d46efbf11d0113d76262384b2b7c486677d11f22R47 I think I should add a comment line to that field, It wasn't obvious for me too at the beginning should the source be saved or not https://github.com/llvm/llvm-project/pull/123734 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits