Chris Lattner | 0f441ab | 2007-12-17 08:22:46 +0000 | [diff] [blame^] | 1 | //===--- HeaderMap.cpp - A file that acts like dir of symlinks ------------===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file was developed by Chris Lattner and is distributed under |
| 6 | // the University of Illinois Open Source License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file implements the HeaderMap interface. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #include "clang/Lex/HeaderMap.h" |
| 15 | using namespace clang; |
| 16 | |
| 17 | const HeaderMap *HeaderMap::Create(const FileEntry *FE, std::string &ErrorInfo){ |
| 18 | // FIXME: woot! |
| 19 | return 0; |
| 20 | } |
| 21 | |
| 22 | /// LookupFile - Check to see if the specified relative filename is located in |
| 23 | /// this HeaderMap. If so, open it and return its FileEntry. |
| 24 | const FileEntry *HeaderMap::LookupFile(const char *FilenameStart, |
| 25 | const char *FilenameEnd, |
| 26 | FileManager &FM) const { |
| 27 | // FIXME: this needs work. |
| 28 | return 0; |
| 29 | } |