Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Linker/
H A DIRMover.cpp779 size_t DotPos = Name.rfind('.'); in getTypeNamePrefix() local
780 return (DotPos == 0 || DotPos == StringRef::npos || Name.back() == '.' || in getTypeNamePrefix()
781 !isdigit(static_cast<unsigned char>(Name[DotPos + 1]))) in getTypeNamePrefix()
783 : Name.substr(0, DotPos); in getTypeNamePrefix()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp629 std::string::size_type DotPos = Filename.rfind('.'); in IsHeaderFile() local
631 if (DotPos == std::string::npos) { in IsHeaderFile()
636 std::string Ext = Filename.substr(DotPos + 1); in IsHeaderFile()