forked from OSchip/llvm-project
Print the qualified name when dumping deserialized decls.
This is useful to understand and debug the lazy template specializations used in the pch and modules. Differential Revision: https://reviews.llvm.org/D41785 llvm-svn: 332817
This commit is contained in:
parent
ce73760755
commit
da31c93794
|
@ -88,8 +88,10 @@ public:
|
|||
|
||||
void DeclRead(serialization::DeclID ID, const Decl *D) override {
|
||||
llvm::outs() << "PCH DECL: " << D->getDeclKindName();
|
||||
if (const NamedDecl *ND = dyn_cast<NamedDecl>(D))
|
||||
llvm::outs() << " - " << *ND;
|
||||
if (const NamedDecl *ND = dyn_cast<NamedDecl>(D)) {
|
||||
llvm::outs() << " - ";
|
||||
ND->printQualifiedName(llvm::outs());
|
||||
}
|
||||
llvm::outs() << "\n";
|
||||
|
||||
DelegatingDeserializationListener::DeclRead(ID, D);
|
||||
|
|
Loading…
Reference in New Issue