forked from OSchip/llvm-project
xpose HeaderSearch::SearchDirs to tools,s, from Paul Holden
llvm-svn: 127122
This commit is contained in:
parent
829c4134b8
commit
71a2f72f1f
|
@ -261,6 +261,17 @@ public:
|
|||
// Used by ASTReader.
|
||||
void setHeaderFileInfoForUID(HeaderFileInfo HFI, unsigned UID);
|
||||
|
||||
// Used by external tools
|
||||
typedef std::vector<DirectoryLookup>::const_iterator search_dir_iterator;
|
||||
search_dir_iterator search_dir_begin() const { return SearchDirs.begin(); }
|
||||
search_dir_iterator search_dir_end() const { return SearchDirs.end(); }
|
||||
unsigned search_dir_size() const { return SearchDirs.size(); }
|
||||
|
||||
search_dir_iterator system_dir_begin() const {
|
||||
return SearchDirs.begin() + SystemDirIdx;
|
||||
}
|
||||
search_dir_iterator system_dir_end() const { return SearchDirs.end(); }
|
||||
|
||||
void PrintStats();
|
||||
private:
|
||||
|
||||
|
|
Loading…
Reference in New Issue