llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-llvm-support Author: Vitaly Buka (vitalybuka) <details> <summary>Changes</summary> --- Full diff: https://github.com/llvm/llvm-project/pull/167279.diff 1 Files Affected: - (modified) llvm/include/llvm/Support/SpecialCaseList.h (+4-4) ``````````diff diff --git a/llvm/include/llvm/Support/SpecialCaseList.h b/llvm/include/llvm/Support/SpecialCaseList.h index f904e582b5cee..8c4dc94ae54ce 100644 --- a/llvm/include/llvm/Support/SpecialCaseList.h +++ b/llvm/include/llvm/Support/SpecialCaseList.h @@ -197,14 +197,14 @@ class SpecialCaseList { protected: class Section { public: - Section(StringRef Str, unsigned FileIdx, bool UseGlobs) - : SectionMatcher(UseGlobs, /*RemoveDotSlash=*/false), SectionStr(Str), + Section(StringRef Name, unsigned FileIdx, bool UseGlobs) + : SectionMatcher(UseGlobs, /*RemoveDotSlash=*/false), Name(Name), FileIdx(FileIdx) {} Section(Section &&) = default; // Return name of the section, it's entire string in []. - StringRef name() const { return SectionStr; } + StringRef name() const { return Name; } // Returns true of string 'Name' matches section name interpreted as a glob. LLVM_ABI bool matchName(StringRef Name) const; @@ -232,7 +232,7 @@ class SpecialCaseList { findMatcher(StringRef Prefix, StringRef Category) const; Matcher SectionMatcher; - StringRef SectionStr; + StringRef Name; SectionEntries Entries; unsigned FileIdx; }; `````````` </details> https://github.com/llvm/llvm-project/pull/167279 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
