Home
last modified time | relevance | path

Searched refs:CategoryEndOffsets (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/clang/lib/Tooling/Inclusions/
DHeaderIncludes.cpp308 if (CategoryEndOffsets.find(*Highest) == CategoryEndOffsets.end()) { in HeaderIncludes()
310 CategoryEndOffsets[*Highest] = FirstIncludeOffset; in HeaderIncludes()
312 CategoryEndOffsets[*Highest] = MinInsertOffset; in HeaderIncludes()
319 if (CategoryEndOffsets.find(*I) == CategoryEndOffsets.end()) in HeaderIncludes()
320 CategoryEndOffsets[*I] = CategoryEndOffsets[*std::prev(I)]; in HeaderIncludes()
335 CategoryEndOffsets[Priority] = NextLineOffset; in addExistingInclude()
359 auto CatOffset = CategoryEndOffsets.find(Priority); in insert()
360 assert(CatOffset != CategoryEndOffsets.end()); in insert()
/external/llvm-project/clang/include/clang/Tooling/Inclusions/
DHeaderIncludes.h121 std::unordered_map<int, int> CategoryEndOffsets; variable
/external/clang/lib/Format/
DFormat.cpp1524 std::map<int, int> CategoryEndOffsets; in fixCppIncludeInsertions() local
1547 CategoryEndOffsets[Category] = NextLineOffset; in fixCppIncludeInsertions()
1559 if (CategoryEndOffsets.find(*Highest) == CategoryEndOffsets.end()) { in fixCppIncludeInsertions()
1561 CategoryEndOffsets[*Highest] = FirstIncludeOffset; in fixCppIncludeInsertions()
1563 CategoryEndOffsets[*Highest] = MinInsertOffset; in fixCppIncludeInsertions()
1570 if (CategoryEndOffsets.find(*I) == CategoryEndOffsets.end()) in fixCppIncludeInsertions()
1571 CategoryEndOffsets[*I] = CategoryEndOffsets[*std::prev(I)]; in fixCppIncludeInsertions()
1587 Offset = CategoryEndOffsets[Category]; in fixCppIncludeInsertions()