Use the canonical version of defining string literals

Change-Id: If36658de6f68f552f93830ba4f1cfa9994a2e44c
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
hjk
2013-09-26 13:01:29 +02:00
committed by Tobias Hunger
parent 921f86dfa7
commit f17d9f01dc
11 changed files with 32 additions and 38 deletions

View File

@@ -38,10 +38,8 @@ using namespace CMakeProjectManager;
using namespace Internal;
using namespace ProjectExplorer;
namespace {
const char * const COMMON_ERROR_PATTERN = "^CMake Error at (.*):([0-9]*) \\((.*)\\):";
const char * const NEXT_SUBERROR_PATTERN = "^CMake Error in (.*):";
}
const char COMMON_ERROR_PATTERN[] = "^CMake Error at (.*):([0-9]*) \\((.*)\\):";
const char NEXT_SUBERROR_PATTERN[] = "^CMake Error in (.*):";
CMakeParser::CMakeParser() :
m_skippedFirstEmptyLine(false)