Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DIdentifierTable.cpp636 static bool startsWithWord(StringRef name, StringRef word) { in startsWithWord() function
668 if (startsWithWord(name, "alloc")) return OMF_alloc; in getMethodFamilyImpl()
671 if (startsWithWord(name, "copy")) return OMF_copy; in getMethodFamilyImpl()
674 if (startsWithWord(name, "init")) return OMF_init; in getMethodFamilyImpl()
677 if (startsWithWord(name, "mutableCopy")) return OMF_mutableCopy; in getMethodFamilyImpl()
680 if (startsWithWord(name, "new")) return OMF_new; in getMethodFamilyImpl()
698 if (startsWithWord(name, "array")) return OIT_Array; in getInstTypeMethodFamily()
701 if (startsWithWord(name, "default")) return OIT_ReturnsSelf; in getInstTypeMethodFamily()
702 if (startsWithWord(name, "dictionary")) return OIT_Dictionary; in getInstTypeMethodFamily()
705 if (startsWithWord(name, "shared")) return OIT_ReturnsSelf; in getInstTypeMethodFamily()
[all …]