Searched refs:startsWithWord (Results 1 – 1 of 1) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/clang/lib/Basic/ |
| H A D | IdentifierTable.cpp | 551 static bool startsWithWord(StringRef name, StringRef word) { in startsWithWord() function 584 if (startsWithWord(name, "alloc")) return OMF_alloc; in getMethodFamilyImpl() 587 if (startsWithWord(name, "copy")) return OMF_copy; in getMethodFamilyImpl() 590 if (startsWithWord(name, "init")) return OMF_init; in getMethodFamilyImpl() 593 if (startsWithWord(name, "mutableCopy")) return OMF_mutableCopy; in getMethodFamilyImpl() 596 if (startsWithWord(name, "new")) return OMF_new; in getMethodFamilyImpl() 614 if (startsWithWord(name, "array")) return OIT_Array; in getInstTypeMethodFamily() 617 if (startsWithWord(name, "default")) return OIT_ReturnsSelf; in getInstTypeMethodFamily() 621 if (startsWithWord(name, "shared")) return OIT_ReturnsSelf; in getInstTypeMethodFamily() 622 if (startsWithWord(name, "standard")) return OIT_Singleton; in getInstTypeMethodFamily() [all …]
|