diff options
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; +} |