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 | 0f441ab20ccd8d21fd3d034de866bfcaf6cb72b2 (patch) | |
tree | 311f8b814475d10c2e903a88b967620c7c7e9f9f /Lex/HeaderMap.cpp | |
parent | b09e71fd52d0e7fdf3e88b1df72ea0cee5d9b37b (diff) |
add headermap.cpp
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45095 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Lex/HeaderMap.cpp')
-rw-r--r-- | Lex/HeaderMap.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Lex/HeaderMap.cpp b/Lex/HeaderMap.cpp new file mode 100644 index 0000000000..5b9c4b0d23 --- /dev/null +++ b/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; +} |