From: Axel Naumann Date: Fri, 12 Sep 2014 12:20:55 +0000 (+0200) Subject: Do not double count for kTwoPasses. X-Git-Tag: v6-02-00-rc1~128^2~2 X-Git-Url: https://root.cern.ch/gitweb?p=root.git;a=commitdiff_plain;h=53d9d8b8714d475f5f190edcb243f8697a97549b Do not double count for kTwoPasses. --- diff --git a/core/metautils/src/Scanner.cxx b/core/metautils/src/Scanner.cxx index 7e7a8fe..7a76dfd 100644 --- a/core/metautils/src/Scanner.cxx +++ b/core/metautils/src/Scanner.cxx @@ -1115,6 +1115,9 @@ void RScanner::Scan(const clang::ASTContext &C) fFirstPass=false; fselectedRecordDecls.clear(); + fSelectedEnums.clear(); + fSelectedTypedefs.clear(); + fSelectedFunctions.clear(); TraverseDecl(C.getTranslationUnitDecl()); // And finally resort the results according to the rule ordering.