aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Lex/HeaderMap.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-12-17 08:22:46 +0000
committerChris Lattner <sabre@nondot.org>2007-12-17 08:22:46 +0000
commit0f441ab20ccd8d21fd3d034de866bfcaf6cb72b2 (patch)
tree311f8b814475d10c2e903a88b967620c7c7e9f9f /include/clang/Lex/HeaderMap.h
parentb09e71fd52d0e7fdf3e88b1df72ea0cee5d9b37b (diff)
add headermap.cpp
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45095 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/HeaderMap.h')
-rw-r--r--include/clang/Lex/HeaderMap.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/include/clang/Lex/HeaderMap.h b/include/clang/Lex/HeaderMap.h
index ffc665094e..48e00bf375 100644
--- a/include/clang/Lex/HeaderMap.h
+++ b/include/clang/Lex/HeaderMap.h
@@ -25,23 +25,19 @@ namespace clang {
/// symlinks to files. Its advantages are that it is dense and more efficient
/// to create and process than a directory of symlinks.
class HeaderMap {
+ HeaderMap(const HeaderMap&); // DO NOT IMPLEMENT
+ void operator=(const HeaderMap&); // DO NOT IMPLEMENT
public:
/// HeaderMap::Create - This attempts to load the specified file as a header
/// map. If it doesn't look like a HeaderMap, it gives up and returns null.
/// If it looks like a HeaderMap but is obviously corrupted, it puts a reason
/// into the string error argument and returns null.
- static const HeaderMap *Create(const FileEntry *FE, std::string &ErrorInfo) {
- // FIXME: woot!
- return 0;
- }
+ static const HeaderMap *Create(const FileEntry *FE, std::string &ErrorInfo);
/// LookupFile - Check to see if the specified relative filename is located in
/// this HeaderMap. If so, open it and return its FileEntry.
const FileEntry *LookupFile(const char *FilenameStart,const char *FilenameEnd,
- FileManager &FM) const {
- // FIXME: this needs work.
- return 0;
- }
+ FileManager &FM) const;
};