Home
last modified time | relevance | path

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

/external/clang/lib/Basic/
DIdentifierTable.cpp455 static bool startsWithWord(StringRef name, StringRef word) { in startsWithWord() function
486 if (startsWithWord(name, "alloc")) return OMF_alloc; in getMethodFamilyImpl()
489 if (startsWithWord(name, "copy")) return OMF_copy; in getMethodFamilyImpl()
492 if (startsWithWord(name, "init")) return OMF_init; in getMethodFamilyImpl()
495 if (startsWithWord(name, "mutableCopy")) return OMF_mutableCopy; in getMethodFamilyImpl()
498 if (startsWithWord(name, "new")) return OMF_new; in getMethodFamilyImpl()
516 if (startsWithWord(name, "array")) return OIT_Array; in getInstTypeMethodFamily()
519 if (startsWithWord(name, "default")) return OIT_ReturnsSelf; in getInstTypeMethodFamily()
520 if (startsWithWord(name, "dictionary")) return OIT_Dictionary; in getInstTypeMethodFamily()
523 if (startsWithWord(name, "shared")) return OIT_ReturnsSelf; in getInstTypeMethodFamily()
[all …]