From 053816c44018f25a657452ea775d286938e128f1 Mon Sep 17 00:00:00 2001
From: Mathias Hasselmann <mathias@openismus.com>
Date: Thu, 16 Aug 2012 11:01:20 +0200
Subject: [PATCH] Permit TODO comments in Google C++ style

Google's C++ Code Guide requires the author's username in TODO comments:

  // TODO(hasselmm): Fix this mess

Change-Id: Ic003c7a1bf22e43a0882284f07017fb25d031c21
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
---
 src/plugins/todo/lineparser.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/plugins/todo/lineparser.cpp b/src/plugins/todo/lineparser.cpp
index 01d7c0f8565..b7c15a2c5be 100644
--- a/src/plugins/todo/lineparser.cpp
+++ b/src/plugins/todo/lineparser.cpp
@@ -58,7 +58,8 @@ bool LineParser::isKeywordSeparator(const QChar &ch)
     return ch.isSpace()
         || (ch == QLatin1Char(':'))
         || (ch == QLatin1Char('/'))
-        || (ch == QLatin1Char('*'));
+        || (ch == QLatin1Char('*'))
+        || (ch == QLatin1Char('('));
 }
 
 LineParser::KeywordEntryCandidates LineParser::findKeywordEntryCandidates(const QString &line)
-- 
GitLab