From a5670aef818ef76c196c525bd4f1d4f7310650c4 Mon Sep 17 00:00:00 2001 From: Axel Naumann Date: Tue, 16 Sep 2014 10:37:54 +0200 Subject: [PATCH] Handle expression template args by not fwd declaring anything. --- core/metautils/src/TMetaUtils.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/metautils/src/TMetaUtils.cxx b/core/metautils/src/TMetaUtils.cxx index a6704d7..c471953 100644 --- a/core/metautils/src/TMetaUtils.cxx +++ b/core/metautils/src/TMetaUtils.cxx @@ -4675,6 +4675,9 @@ static void addDeclsToTransactionForType(const clang::Type* typ, case clang::TemplateArgument::Pack: addDeclsToTransactionForTemplateName(TA.getAsTemplateOrTemplatePattern(), theTransaction, addedDecls); break; + case clang::TemplateArgument::Expression: + // Nothing to fwd declare, hopefully... + break; default: ROOT::TMetaUtils::Error("addDeclsToTransactionForType", "Unexpected TemplateSpecializationType %s\n", typ->getTypeClassName()); -- 1.8.2