diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2011-12-09 01:33:57 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2011-12-09 01:33:57 +0000 |
| commit | b0ffe50da8bb4929e3ef98c086a6971a51c9c65b (patch) | |
| tree | 79a57eaf07cc19f302c1ae8f55c6879f4ac57a7a /clang/include/clang/Lex/HeaderSearch.h | |
| parent | 706574a994198201698a731f8fcb3c912dc1cc4c (diff) | |
| download | bcm5719-llvm-b0ffe50da8bb4929e3ef98c086a6971a51c9c65b.tar.gz bcm5719-llvm-b0ffe50da8bb4929e3ef98c086a6971a51c9c65b.zip | |
Move a free function from the Frontend library into the Lex library as
part of HeaderSearch. This function just normalizes filenames for use
inside of a synthetic include directive, but it is used in both the
Frontend and Serialization libraries so it needs a common home.
llvm-svn: 146227
Diffstat (limited to 'clang/include/clang/Lex/HeaderSearch.h')
| -rw-r--r-- | clang/include/clang/Lex/HeaderSearch.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/include/clang/Lex/HeaderSearch.h b/clang/include/clang/Lex/HeaderSearch.h index 02f8c021208..ade5d2a6f12 100644 --- a/clang/include/clang/Lex/HeaderSearch.h +++ b/clang/include/clang/Lex/HeaderSearch.h @@ -448,6 +448,9 @@ public: size_t getTotalMemory() const; + static std::string NormalizeDashIncludePath(StringRef File, + FileManager &FileMgr); + private: /// \brief Describes what happened when we tried to load a module map file. enum LoadModuleMapResult { |

