aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Lex/HeaderMap.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-12-17 17:57:27 +0000
committerChris Lattner <sabre@nondot.org>2007-12-17 17:57:27 +0000
commit3af66a9335966e9114e660cf7aafbb9272190ec2 (patch)
tree40149e2916dde3b70835647c84cc0a600ab69782 /include/clang/Lex/HeaderMap.h
parentfc591acc68050ab882fd242f0df2ad9196a1f3d7 (diff)
Sink getName into DirectoryLookup to simplify the client in clang.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45106 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/HeaderMap.h')
-rw-r--r--include/clang/Lex/HeaderMap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clang/Lex/HeaderMap.h b/include/clang/Lex/HeaderMap.h
index 48e00bf375..8b1669f86b 100644
--- a/include/clang/Lex/HeaderMap.h
+++ b/include/clang/Lex/HeaderMap.h
@@ -38,6 +38,11 @@ public:
/// this HeaderMap. If so, open it and return its FileEntry.
const FileEntry *LookupFile(const char *FilenameStart,const char *FilenameEnd,
FileManager &FM) const;
+
+ /// getFileName - Return the filename of the headermap.
+ const char *getFileName() const {
+ return "";
+ }
};