From: Axel Naumann Date: Thu, 28 Aug 2014 15:11:52 +0000 (+0200) Subject: Do not select unnamed classes through typedefs. X-Git-Tag: v6-02-00-rc1~252 X-Git-Url: https://root.cern.ch/gitweb?p=root.git;a=commitdiff_plain;h=eab5ec7ca383b05fc2d541044cb884baf22f3cba Do not select unnamed classes through typedefs. --- diff --git a/core/metautils/src/Scanner.cxx b/core/metautils/src/Scanner.cxx index f65d52c..1e9e136 100644 --- a/core/metautils/src/Scanner.cxx +++ b/core/metautils/src/Scanner.cxx @@ -709,6 +709,10 @@ bool RScanner::TreatRecordDeclOrTypedefNameDecl(clang::TypeDecl* typeDecl) return true; } + // Do not select unnamed records. + if (!recordDecl->getIdentifier()) + return true; + if (fScanType == EScanType::kOnePCM && ROOT::TMetaUtils::IsStdClass(*recordDecl)) return true;