[clang-tools-extra] Allow specifying pipe syntax for use-ranges checks (PR #98696)

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 15 09:59:18 PDT 2024


================
@@ -166,6 +166,15 @@ utils::UseRangesCheck::ReplacerMap UseRangesCheck::getReplacerMap() const {
   return Result;
 }
 
+UseRangesCheck::UseRangesCheck(StringRef Name, ClangTidyContext *Context)
+    : utils::UseRangesCheck(Name, Context),
+      UseReversePipe(Options.get("UseReversePipe", false)) {}
----------------
PiotrZSL wrote:

ok

https://github.com/llvm/llvm-project/pull/98696


More information about the cfe-commits mailing list