From e5da08fbfa01a4d812d0f88abbb98faa9a410e03 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 23 Dec 2015 00:25:37 -0800 Subject: [PATCH] Move brackets from parts to pattern: it's simpler. --- Analyze.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Analyze.cpp b/Analyze.cpp index c6e5777..ffc7c09 100644 --- a/Analyze.cpp +++ b/Analyze.cpp @@ -138,15 +138,10 @@ static CXChildVisitResult CYChildVisit(CXCursor cursor, CXCursor parent, CXClien goto skip; CYFieldBaton baton; - - baton.types << "["; - baton.names << "["; clang_visitChildren(cursor, &CYFieldVisit, &baton); - baton.types << "]"; - baton.names << "]"; name += "$cy"; - value << "new Type(" << baton.types.str() << "," << baton.names.str() << ")"; + value << "new Type([" << baton.types.str() << "],[" << baton.names.str() << "])"; } break; case CXCursor_TypedefDecl: { -- 2.49.0