diff options
author | Chris Lattner <sabre@nondot.org> | 2007-12-17 08:22:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-12-17 08:22:46 +0000 |
commit | 1587e6db010c1f40a7981cb72909a59c7935c26b (patch) | |
tree | 748b8db274205e4951e807e904ee839d1d0a30e5 /clang/Lex/HeaderMap.cpp | |
parent | 44bd21b7c1df724c067d138d753a962842176890 (diff) | |
download | bcm5719-llvm-1587e6db010c1f40a7981cb72909a59c7935c26b.tar.gz bcm5719-llvm-1587e6db010c1f40a7981cb72909a59c7935c26b.zip |
add headermap.cpp
llvm-svn: 45095
Diffstat (limited to 'clang/Lex/HeaderMap.cpp')
-rw-r--r-- | clang/Lex/HeaderMap.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/clang/Lex/HeaderMap.cpp b/clang/Lex/HeaderMap.cpp new file mode 100644 index 00000000000..5b9c4b0d234 --- /dev/null +++ b/clang/Lex/HeaderMap.cpp @@ -0,0 +1,29 @@ +//===--- HeaderMap.cpp - A file that acts like dir of symlinks ------------===// +// +// The LLVM Compiler Infrastructure +// +// This file was developed by Chris Lattner and is distributed under +// the University of Illinois Open Source License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file implements the HeaderMap interface. +// +//===----------------------------------------------------------------------===// + +#include "clang/Lex/HeaderMap.h" +using namespace clang; + +const HeaderMap *HeaderMap::Create(const FileEntry *FE, std::string &ErrorInfo){ + // FIXME: woot! + return 0; +} + +/// LookupFile - Check to see if the specified relative filename is located in +/// this HeaderMap. If so, open it and return its FileEntry. +const FileEntry *HeaderMap::LookupFile(const char *FilenameStart, + const char *FilenameEnd, + FileManager &FM) const { + // FIXME: this needs work. + return 0; +} |