D15532: kdev-astyle : improved ObjC support

Pino Toscano noreply at phabricator.kde.org
Wed Sep 19 19:41:17 BST 2018


pino added inline comments.

INLINE COMMENTS

> astyle_plugin.cpp:36
>  
> +static const char *formattingCxxSample =
> +    "void func(){\n"

`static const char foo[] = "..."`, which is more efficient (makes the whole string const)

> astyle_plugin.cpp:71
> +
> +static const char *formattingObjCSample =
> +    "void func(){\n"

ditto

> astyle_plugin.cpp:103
> +
> +static const char *indentingCxxSample =
> +    "#define foobar(A)\\\n"

ditto

> astyle_plugin.cpp:156
> +
> +static const char *indentingObjCSample =
> +    "#import <objc/Object.h>\n"

ditto

REPOSITORY
  R32 KDevelop

REVISION DETAIL
  https://phabricator.kde.org/D15532

To: rjvbb, #kdevelop, kossebau
Cc: pino, kossebau, kdevelop-devel, glebaccon, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180919/dc38f4bb/attachment-0001.html>


More information about the KDevelop-devel mailing list