aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Lex/HeaderMap.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-12-17 18:34:53 +0000
committerChris Lattner <sabre@nondot.org>2007-12-17 18:34:53 +0000
commit1bfd4a6313ea8ebf710c46c10111732cc65d51f6 (patch)
treec14d5890fefa4d7bcdf70e322d0008573a92ca7d /include/clang/Lex/HeaderMap.h
parentc6e2c2abd65c39e93c7f51e55f2dae81fe8f2c4c (diff)
Start reading the headermap header, drop the 'errorstr' argument to
the create method. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45109 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/HeaderMap.h')
-rw-r--r--include/clang/Lex/HeaderMap.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/clang/Lex/HeaderMap.h b/include/clang/Lex/HeaderMap.h
index 8b1669f86b..dc70d848e0 100644
--- a/include/clang/Lex/HeaderMap.h
+++ b/include/clang/Lex/HeaderMap.h
@@ -30,9 +30,7 @@ class HeaderMap {
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);
+ static const HeaderMap *Create(const FileEntry *FE);
/// LookupFile - Check to see if the specified relative filename is located in
/// this HeaderMap. If so, open it and return its FileEntry.