summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerators.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2016-12-27 13:52:49 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-01-10 11:49:14 (GMT)
commitc736c41ad192c89e1c74751a8f401c75955f5f3b (patch)
tree83c8064a56c829d0775bad51a0f331a70c936111 /Source/cmQtAutoGenerators.h
parentcbd650c2642e40369eaa53d20dafee6cdccae4af (diff)
downloadCMake-c736c41ad192c89e1c74751a8f401c75955f5f3b.zip
CMake-c736c41ad192c89e1c74751a8f401c75955f5f3b.tar.gz
CMake-c736c41ad192c89e1c74751a8f401c75955f5f3b.tar.bz2
AUTOGEN: Generators: Use precompiled regular expressions
Diffstat (limited to 'Source/cmQtAutoGenerators.h')
-rw-r--r--Source/cmQtAutoGenerators.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmQtAutoGenerators.h b/Source/cmQtAutoGenerators.h
index 08f98b5..b6bca8a 100644
--- a/Source/cmQtAutoGenerators.h
+++ b/Source/cmQtAutoGenerators.h
@@ -5,6 +5,7 @@
#include <cmConfigure.h> // IWYU pragma: keep
#include <cmFilePathChecksum.h>
+#include <cmsys/RegularExpression.hxx>
#include <list>
#include <map>
@@ -65,6 +66,8 @@ private:
std::map<std::string, std::string>& notIncludedMocs,
std::map<std::string, std::vector<std::string> >& includedUis);
+ bool requiresMocing(const std::string& text, std::string& macroName);
+
void ParseForUic(
const std::string& fileName, const std::string& contentsString,
std::map<std::string, std::vector<std::string> >& includedUis);
@@ -138,6 +141,10 @@ private:
std::string OldCompileSettingsStr;
// - Utility
cmFilePathChecksum fpathCheckSum;
+ cmsys::RegularExpression RegExpQObject;
+ cmsys::RegularExpression RegExpQGadget;
+ cmsys::RegularExpression RegExpMocInclude;
+ cmsys::RegularExpression RegExpUicInclude;
// - Flags
bool IncludeProjectDirsBefore;
bool Verbose;