From 09a7b298c42fdba0f5b2a0832ceb24d17744d539 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Thu, 9 Mar 2017 22:00:01 +0000 Subject: Add -cc1 flag -ast-dump-all to perform an AST dump including entities that haven't yet been deserialized. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@297412 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/DeclBase.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/clang/AST/DeclBase.h') diff --git a/include/clang/AST/DeclBase.h b/include/clang/AST/DeclBase.h index e4894539bb..c88cb6a8fd 100644 --- a/include/clang/AST/DeclBase.h +++ b/include/clang/AST/DeclBase.h @@ -1029,7 +1029,7 @@ public: void dump() const; // Same as dump(), but forces color printing. void dumpColor() const; - void dump(raw_ostream &Out) const; + void dump(raw_ostream &Out, bool Deserialize = false) const; /// \brief Looks through the Decl's underlying type to extract a FunctionType /// when possible. Will return null if the type underlying the Decl does not @@ -1810,7 +1810,8 @@ public: void dumpDeclContext() const; void dumpLookups() const; - void dumpLookups(llvm::raw_ostream &OS, bool DumpDecls = false) const; + void dumpLookups(llvm::raw_ostream &OS, bool DumpDecls = false, + bool Deserialize = false) const; private: void reconcileExternalVisibleStorage() const; -- cgit v1.2.3