From: Axel Naumann Date: Tue, 16 Sep 2014 11:43:33 +0000 (+0200) Subject: Also fwd declare the underlying type of typedefs. X-Git-Tag: v6-02-00-rc1~98 X-Git-Url: https://root.cern.ch/gitweb?p=root.git;a=commitdiff_plain;h=a6ddb6451d796f5c7dc73e57751d583683a0dc9a Also fwd declare the underlying type of typedefs. --- diff --git a/core/metautils/src/TMetaUtils.cxx b/core/metautils/src/TMetaUtils.cxx index 95c07ba..3ffab16 100644 --- a/core/metautils/src/TMetaUtils.cxx +++ b/core/metautils/src/TMetaUtils.cxx @@ -4751,6 +4751,9 @@ static void addDeclToTransaction(clang::Decl *decl, // do not add the "T" of template to the // transaction. return; + } else if (auto *td = llvm::dyn_cast(decl)) { + addDeclsToTransactionForType(td->getUnderlyingType().getTypePtr(), + theTransaction, addedDecls); }