Lines Matching refs:Components
1638 // Given a vector of path components and a string containing the real
1641 static bool trySimplifyPath(SmallVectorImpl<StringRef> &Components,
1649 for (auto &Component : llvm::reverse(Components)) {
1657 // If these path components differ by more than just case, then we
2131 SmallVector<StringRef, 16> Components(llvm::sys::path::begin(Name),
2149 assert(Components.size() >= 3 && "should have drive, backslash, name");
2150 assert(Components[0].size() == 2 && "should start with drive");
2151 assert(Components[0][1] == ':' && "should have colon");
2157 if (trySimplifyPath(Components, RealPathName)) {
2166 for (auto Component : Components) {
2167 // On POSIX, Components will contain a single '/' as first element
2173 // If the first entry in Components is a directory separator,