Searched refs:IncludeName (Results 1 – 6 of 6) sorted by relevance
/external/llvm-project/clang/lib/Tooling/Inclusions/ |
D | HeaderIncludes.cpp | 171 inline StringRef trimInclude(StringRef IncludeName) { in trimInclude() argument 172 return IncludeName.trim("\"<>"); in trimInclude() 208 int IncludeCategoryManager::getIncludePriority(StringRef IncludeName, in getIncludePriority() argument 212 if (CategoryRegexs[i].match(IncludeName)) { in getIncludePriority() 216 if (CheckMainHeader && IsMainFile && Ret > 0 && isMainHeader(IncludeName)) in getIncludePriority() 221 int IncludeCategoryManager::getSortIncludePriority(StringRef IncludeName, in getSortIncludePriority() argument 225 if (CategoryRegexs[i].match(IncludeName)) { in getSortIncludePriority() 231 if (CheckMainHeader && IsMainFile && Ret > 0 && isMainHeader(IncludeName)) in getSortIncludePriority() 235 bool IncludeCategoryManager::isMainHeader(StringRef IncludeName) const { in isMainHeader() 236 if (!IncludeName.startswith("\"")) in isMainHeader() [all …]
|
/external/llvm-project/clang/include/clang/Tooling/Inclusions/ |
D | HeaderIncludes.h | 34 int getIncludePriority(StringRef IncludeName, bool CheckMainHeader) const; 35 int getSortIncludePriority(StringRef IncludeName, bool CheckMainHeader) const; 38 bool isMainHeader(StringRef IncludeName) const;
|
/external/clang/lib/Format/ |
D | Format.cpp | 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 [all …]
|
/external/llvm-project/clang-tools-extra/clang-include-fixer/ |
D | IncludeFixer.cpp | 409 std::string IncludeName = in createIncludeFixerReplacements() local 414 Insertions.add(tooling::Replacement(FilePath, UINT_MAX, 0, IncludeName)); in createIncludeFixerReplacements()
|
/external/llvm-project/clang/lib/Driver/ToolChains/ |
D | MSVC.cpp | 894 const char *IncludeName; in getSubDirectoryPath() local 898 IncludeName = "include"; in getSubDirectoryPath() 902 IncludeName = "include"; in getSubDirectoryPath() 906 IncludeName = "inc"; in getSubDirectoryPath() 926 llvm::sys::path::append(Path, IncludeName); in getSubDirectoryPath()
|
/external/llvm-project/clang/lib/Format/ |
D | Format.cpp | 2285 StringRef IncludeName = Matches[2]; in sortCppIncludes() local 2287 IncludeName, in sortCppIncludes() 2290 IncludeName, !MainIncludeFound && FirstIncludeBlock); in sortCppIncludes() 2294 {IncludeName, Line, Prev, Category, Priority}); in sortCppIncludes() 2606 auto IncludeName = Matches[2]; in fixCppIncludeInsertions() local 2608 Includes.insert(IncludeName.trim("\"<>"), IncludeName.startswith("<")); in fixCppIncludeInsertions()
|