AST.TemplateArgument VisitTemplateArgument(TemplateArgument arg) { var _arg = new AST.TemplateArgument(); _arg.Kind = VisitArgumentKind(arg.Kind); _arg.Type = VisitQualified(arg.Type); _arg.Declaration = declConverter.Visit(arg.Declaration); _arg.Integral = arg.Integral; return(_arg); }
private static bool UnsupportedTemplateArgument( ClassTemplateSpecialization specialization, TemplateArgument a, ITypeMapDatabase typeMaps) { if (a.Type.Type == null || IsTypeExternal(specialization.TranslationUnit.Module, a.Type.Type)) { return(true); } var typeIgnoreChecker = new TypeIgnoreChecker(typeMaps); a.Type.Type.Visit(typeIgnoreChecker); return(typeIgnoreChecker.IsIgnored); }