aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Serialization
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-08-25 20:58:51 +0000
committerDouglas Gregor <dgregor@apple.com>2011-08-25 20:58:51 +0000
commitc69a292f9f7bee2a7359df18d1db501d8717f0b2 (patch)
tree608ea5d92025606d63fe4d8e9ef6c592b120b89c /include/clang/Serialization
parent98339b96a8089a6da715487e432c5abfca0ca0df (diff)
Move file validation in the ASTReader from "top of chain" validation
to "when loading a particular module" validation, since it was only validating local information anyway. This shouldn't change anything. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138583 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Serialization')
-rw-r--r--include/clang/Serialization/ASTReader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Serialization/ASTReader.h b/include/clang/Serialization/ASTReader.h
index c8a72551be..b145710a13 100644
--- a/include/clang/Serialization/ASTReader.h
+++ b/include/clang/Serialization/ASTReader.h
@@ -763,7 +763,7 @@ public:
/// \brief Checks that no file that is stored in PCH is out-of-sync with
/// the actual file in the file system.
- ASTReadResult validateFileEntries();
+ ASTReadResult validateFileEntries(Module &M);
/// \brief Set the AST callbacks listener.
void setListener(ASTReaderListener *listener) {