summaryrefslogtreecommitdiffstats
path: root/clang/Lex/HeaderMap.cpp
blob: 5b9c4b0d234355a83e00ecd25e9f80436065f66b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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;
}
OpenPOWER on IntegriCloud