Home
last modified time | relevance | path

Searched refs:startsWithWord (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang/lib/Basic/
H A DIdentifierTable.cpp563 static bool startsWithWord(StringRef name, StringRef word) { in startsWithWord() function
596 if (startsWithWord(name, "alloc")) return OMF_alloc; in getMethodFamilyImpl()
599 if (startsWithWord(name, "copy")) return OMF_copy; in getMethodFamilyImpl()
602 if (startsWithWord(name, "init")) return OMF_init; in getMethodFamilyImpl()
605 if (startsWithWord(name, "mutableCopy")) return OMF_mutableCopy; in getMethodFamilyImpl()
608 if (startsWithWord(name, "new")) return OMF_new; in getMethodFamilyImpl()
626 if (startsWithWord(name, "array")) return OIT_Array; in getInstTypeMethodFamily()
629 if (startsWithWord(name, "default")) return OIT_ReturnsSelf; in getInstTypeMethodFamily()
633 if (startsWithWord(name, "shared")) return OIT_ReturnsSelf; in getInstTypeMethodFamily()
634 if (startsWithWord(name, "standard")) return OIT_Singleton; in getInstTypeMethodFamily()
[all …]