From 183a80e83b57d346c51b93bd5201c7b38391f0d9 Mon Sep 17 00:00:00 2001 From: Alexander Trufanov Date: Sun, 9 Aug 2020 15:13:52 +0000 Subject: [PATCH] astyle-kdelibs script commentary update The astyle doesn't require patching since version 2.05 --- astyle-kdelibs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/astyle-kdelibs b/astyle-kdelibs index adeb928..fac44fb 100755 --- a/astyle-kdelibs +++ b/astyle-kdelibs @@ -8,8 +8,8 @@ # - installed astyle, with patches below # - $QT_NORMALIZE_TOOL pointing to qtrepotools/util/normalize/normalize (after compiling it) # -# IMPORTANT: astyle misparses the Qt "keywords" like foreach and Q_FOREACH, which -# makes it style wrongly not just the space after the keyword, but also everything +# IMPORTANT: use astyle 2.05 or later. Patch astyle if you use older version. +# Older versions of astyle misparse the Qt "keywords" like foreach and Q_FOREACH, which # inside the parenthesis, leading to things like: # Q_FOREACH(const QString & it, l) // note the space after the '&'. # -- GitLab