aboutsummaryrefslogtreecommitdiff
path: root/Lex/HeaderMap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Lex/HeaderMap.cpp')
-rw-r--r--Lex/HeaderMap.cpp29
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;
+}