diff --git a/llvm/include/llvm/Support/SpecialCaseList.h b/llvm/include/llvm/Support/SpecialCaseList.h index 466e2a40c9093..477987c576965 100644 --- a/llvm/include/llvm/Support/SpecialCaseList.h +++ b/llvm/include/llvm/Support/SpecialCaseList.h @@ -164,6 +164,8 @@ class SpecialCaseList { public: LLVM_ABI Matcher(bool UseGlobs, bool RemoveDotSlash); + LLVM_ABI Error insert(StringRef Pattern, unsigned LineNumber); + LLVM_ABI void match(StringRef Query, llvm::function_ref Cb) const; @@ -174,8 +176,6 @@ class SpecialCaseList { return R; } - LLVM_ABI Error insert(StringRef Pattern, unsigned LineNumber); - std::variant M; bool RemoveDotSlash; };