Lines Matching refs:IncludeName
1284 int getIncludePriority(StringRef IncludeName, bool CheckMainHeader) { in getIncludePriority() argument
1287 if (CategoryRegexs[i].match(IncludeName)) { in getIncludePriority()
1291 if (CheckMainHeader && IsMainFile && Ret > 0 && isMainHeader(IncludeName)) in getIncludePriority()
1297 bool isMainHeader(StringRef IncludeName) const { in isMainHeader()
1298 if (!IncludeName.startswith("\"")) in isMainHeader()
1301 llvm::sys::path::stem(IncludeName.drop_front(1).drop_back(1)); in isMainHeader()
1359 StringRef IncludeName = Matches[2]; in sortCppIncludes() local
1361 IncludeName, in sortCppIncludes()
1365 IncludesInBlock.push_back({IncludeName, Line, Prev, Category}); in sortCppIncludes()
1543 StringRef IncludeName = Matches[2]; in fixCppIncludeInsertions() local
1544 ExistingIncludes.insert(IncludeName); in fixCppIncludeInsertions()
1546 IncludeName, /*CheckMainHeader=*/FirstIncludeOffset < 0); in fixCppIncludeInsertions()
1579 auto IncludeName = Matches[2]; in fixCppIncludeInsertions() local
1580 if (ExistingIncludes.find(IncludeName) != ExistingIncludes.end()) { in fixCppIncludeInsertions()
1581 DEBUG(llvm::dbgs() << "Skip adding existing include : " << IncludeName in fixCppIncludeInsertions()
1586 Categories.getIncludePriority(IncludeName, /*CheckMainHeader=*/true); in fixCppIncludeInsertions()