Home
last modified time | relevance | path

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

/external/clang/lib/Basic/
DIdentifierTable.cpp465 static bool startsWithWord(StringRef name, StringRef word) { in startsWithWord() function
496 if (startsWithWord(name, "alloc")) return OMF_alloc; in getMethodFamilyImpl()
499 if (startsWithWord(name, "copy")) return OMF_copy; in getMethodFamilyImpl()
502 if (startsWithWord(name, "init")) return OMF_init; in getMethodFamilyImpl()
505 if (startsWithWord(name, "mutableCopy")) return OMF_mutableCopy; in getMethodFamilyImpl()
508 if (startsWithWord(name, "new")) return OMF_new; in getMethodFamilyImpl()
526 if (startsWithWord(name, "array")) return OIT_Array; in getInstTypeMethodFamily()
529 if (startsWithWord(name, "default")) return OIT_ReturnsSelf; in getInstTypeMethodFamily()
530 if (startsWithWord(name, "dictionary")) return OIT_Dictionary; in getInstTypeMethodFamily()
533 if (startsWithWord(name, "shared")) return OIT_ReturnsSelf; in getInstTypeMethodFamily()
[all …]
/external/llvm-project/clang/lib/Basic/
DIdentifierTable.cpp510 static bool startsWithWord(StringRef name, StringRef word) { in startsWithWord() function
543 if (startsWithWord(name, "alloc")) return OMF_alloc; in getMethodFamilyImpl()
546 if (startsWithWord(name, "copy")) return OMF_copy; in getMethodFamilyImpl()
549 if (startsWithWord(name, "init")) return OMF_init; in getMethodFamilyImpl()
552 if (startsWithWord(name, "mutableCopy")) return OMF_mutableCopy; in getMethodFamilyImpl()
555 if (startsWithWord(name, "new")) return OMF_new; in getMethodFamilyImpl()
573 if (startsWithWord(name, "array")) return OIT_Array; in getInstTypeMethodFamily()
576 if (startsWithWord(name, "default")) return OIT_ReturnsSelf; in getInstTypeMethodFamily()
577 if (startsWithWord(name, "dictionary")) return OIT_Dictionary; in getInstTypeMethodFamily()
580 if (startsWithWord(name, "shared")) return OIT_ReturnsSelf; in getInstTypeMethodFamily()
[all …]