Author: Nick Desaulniers Date: 2026-11-19T23:46:33Z New Revision: d80ea91299d72f7ffd919e8be119a87d267c2b0c
URL: https://github.com/llvm/llvm-project/commit/d80ea91299d72f7ffd919e8be119a87d267c2b0c DIFF: https://github.com/llvm/llvm-project/commit/d80ea91299d72f7ffd919e8be119a87d267c2b0c.diff LOG: [clang] fixup -Wunused-private-field (#244427) -Wunused-private-field will soon be able to flag fields in instantiated class templates. Land this in preparation. Link: #237374 Link: #244396 Added: Modified: clang/include/clang/Analysis/Analyses/ThreadSafetyTraverse.h Removed: ################################################################################ diff --git a/clang/include/clang/Analysis/Analyses/ThreadSafetyTraverse.h b/clang/include/clang/Analysis/Analyses/ThreadSafetyTraverse.h index cf1b39cad726d8..4c7c061df2627d 100644 --- a/clang/include/clang/Analysis/Analyses/ThreadSafetyTraverse.h +++ b/clang/include/clang/Analysis/Analyses/ThreadSafetyTraverse.h @@ -398,18 +398,11 @@ class MatchComparator : public Comparator<MatchComparator> { template <typename Self, typename StreamType> class PrettyPrinter { private: - // Print out additional information. - bool Verbose; - - // Omit redundant decls. - bool Cleanup; - // Print exprs in C-like syntax. bool CStyle; public: - PrettyPrinter(bool V = false, bool C = true, bool CS = true) - : Verbose(V), Cleanup(C), CStyle(CS) {} + PrettyPrinter(bool CS = true) : CStyle(CS) {} static void print(const SExpr *E, StreamType &SS) { Self printer; _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
