9 #ifndef LLVM_CLANG_TOOLING_INCLUSIONS_HEADERINCLUDES_H 10 #define LLVM_CLANG_TOOLING_INCLUSIONS_HEADERINCLUDES_H 15 #include "llvm/Support/Path.h" 16 #include "llvm/Support/Regex.h" 17 #include <unordered_map> 38 bool isMainHeader(StringRef IncludeName)
const;
95 void addExistingInclude(Include IncludeToAdd,
unsigned NextLineOffset);
103 llvm::StringMap<llvm::SmallVector<Include, 1>> ExistingIncludes;
111 std::unordered_map<int, llvm::SmallVector<const Include *, 8>>
114 int FirstIncludeOffset;
117 unsigned MinInsertOffset;
121 unsigned MaxInsertOffset;
124 std::unordered_map<int, int> CategoryEndOffsets;
127 std::set<int> Priorities;
130 llvm::Regex IncludeRegex;
137 #endif // LLVM_CLANG_TOOLING_INCLUSIONS_HEADERINCLUDES_H Defines the SourceManager interface.
Dataflow Directional Tag Classes.