Lines Matching defs:Components
1959 static bool trySimplifyPath(SmallVectorImpl<StringRef> &Components,
1974 for (auto &Component : llvm::reverse(Components)) {
2534 SmallVector<StringRef, 16> Components(llvm::sys::path::begin(Name),
2552 assert(Components.size() >= 3 && "should have drive, backslash, name");
2553 assert(Components[0].size() == 2 && "should start with drive");
2554 assert(Components[0][1] == ':' && "should have colon");
2560 if (trySimplifyPath(Components, RealPathName, BackslashStyle)) {
2569 for (auto Component : Components) {
2570 // On POSIX, Components will contain a single '/' as first element
2576 // If the first entry in Components is a directory separator,