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> 37 bool isMainHeader(StringRef IncludeName)
const;
94 void addExistingInclude(Include IncludeToAdd,
unsigned NextLineOffset);
102 llvm::StringMap<llvm::SmallVector<Include, 1>> ExistingIncludes;
110 std::unordered_map<int, llvm::SmallVector<const Include *, 8>>
113 int FirstIncludeOffset;
116 unsigned MinInsertOffset;
120 unsigned MaxInsertOffset;
123 std::unordered_map<int, int> CategoryEndOffsets;
126 std::set<int> Priorities;
129 llvm::Regex IncludeRegex;
136 #endif // LLVM_CLANG_TOOLING_INCLUSIONS_HEADERINCLUDES_H Defines the SourceManager interface.
Dataflow Directional Tag Classes.