diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/clang/Serialization/ASTReader.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/clang/Serialization/ASTReader.h b/include/clang/Serialization/ASTReader.h index 51db35e4d9..e87c93fbec 100644 --- a/include/clang/Serialization/ASTReader.h +++ b/include/clang/Serialization/ASTReader.h @@ -687,7 +687,7 @@ private: /// Objective-C protocols. std::deque<Decl *> InterestingDecls; - /// \brief The set of redeclarable declaraations that have been deserialized + /// \brief The set of redeclarable declarations that have been deserialized /// since the last time the declaration chains were linked. llvm::SmallPtrSet<Decl *, 16> RedeclsDeserialized; @@ -854,6 +854,10 @@ private: void finishPendingActions(); + /// \brief Whether D needs to be instantiated, i.e. whether an instantiation + /// for D does not exist yet. + bool needPendingInstantiation(ValueDecl* D) const; + /// \brief Produce an error diagnostic and return true. /// /// This routine should only be used for fatal errors that have to |