reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/ADT/StringRef.h
  207     int compare_lower(StringRef RHS) const;

References

include/llvm/ADT/SmallString.h
  115     return str().compare_lower(RHS);
include/llvm/ADT/StringRef.h
  188       return Length == RHS.Length && compare_lower(RHS) == 0;
lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
  130   return S1.compare_lower(S2.data()) < 0;
lib/MC/MCParser/AsmParser.cpp
 3135     if (!IDVal.compare_lower("infinity") || !IDVal.compare_lower("inf"))
 3135     if (!IDVal.compare_lower("infinity") || !IDVal.compare_lower("inf"))
 3137     else if (!IDVal.compare_lower("nan"))
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
  509     if (Option.compare_lower("endloop01") == 0) {
  512     } else if (Option.compare_lower("endloop0") == 0) {
  514     } else if (Option.compare_lower("endloop1") == 0) {
  516     } else if (Option.compare_lower("mem_noshuf") == 0) {
lib/Target/Sparc/LeonPasses.cpp
   91           if (FuncName.compare_lower("fesetround") == 0) {
lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
  373     if (S.compare_lower("infinity") == 0) {
  375     } else if (S.compare_lower("nan") == 0) {
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
11038                       [](StringRef S) { return !S.compare_lower("llvm"); });
tools/clang/lib/Driver/Driver.cpp
 1641     if (int X = A.compare_lower(B))
tools/clang/lib/Format/SortJavaScriptImports.cpp
  106   if (int Res = LHS.URL.compare_lower(RHS.URL))
  250           return LHS.Symbol.compare_lower(RHS.Symbol) < 0;
tools/clang/lib/Format/UsingDeclarationsSorter.cpp
   51       return NamesA[I].compare_lower(NamesB[I]);
   60     int C = NamesA[I].compare_lower(NamesB[I]);
tools/clang/lib/Sema/CodeCompleteConsumer.cpp
  760   int cmp = XStr.compare_lower(YStr);
tools/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
 2003       int compareRes = ignoreCase ? s1StrRef.compare_lower(s2StrRef)
tools/clang/tools/extra/clang-tidy/bugprone/ArgumentCommentCheck.cpp
  165   return InComment.compare_lower(InDecl) == 0;
tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.cpp
  112     if (FalseMacroName.compare_lower("false") == 0 ||
  113         FalseMacroName.compare_lower("null") == 0)
tools/clang/tools/libclang/CIndexCodeCompletion.cpp
 1028       int result = XText.compare_lower(YText);
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpression.cpp
   44         return reg_name.compare_lower(register_entry.Name) == 0;
tools/lldb/source/Utility/ConstString.cpp
  246       return lhs_string_ref.compare_lower(rhs_string_ref);
unittests/ADT/StringRefTest.cpp
   91   EXPECT_EQ(-1, StringRef("AaB").compare_lower("aAd"));
   92   EXPECT_EQ( 0, StringRef("AaB").compare_lower("aab"));
   93   EXPECT_EQ( 1, StringRef("AaB").compare_lower("AAA"));
   94   EXPECT_EQ(-1, StringRef("AaB").compare_lower("aaBb"));
   95   EXPECT_EQ(-1, StringRef("AaB").compare_lower("bb"));
   96   EXPECT_EQ( 1, StringRef("aaBb").compare_lower("AaB"));
   97   EXPECT_EQ( 1, StringRef("bb").compare_lower("AaB"));
   98   EXPECT_EQ( 1, StringRef("AaB").compare_lower("aA"));
   99   EXPECT_EQ( 1, StringRef("\xFF").compare_lower("\1"));