Lines Matching defs:Components
1937 static bool trySimplifyPath(SmallVectorImpl<StringRef> &Components,
1952 for (auto &Component : llvm::reverse(Components)) {
2512 SmallVector<StringRef, 16> Components(llvm::sys::path::begin(Name),
2530 assert(Components.size() >= 3 && "should have drive, backslash, name");
2531 assert(Components[0].size() == 2 && "should start with drive");
2532 assert(Components[0][1] == ':' && "should have colon");
2538 if (trySimplifyPath(Components, RealPathName, BackslashStyle)) {
2547 for (auto Component : Components) {
2548 // On POSIX, Components will contain a single '/' as first element
2554 // If the first entry in Components is a directory separator,