diff options
author | Artur Ryt <artur.ryt@gmail.com> | 2019-04-02 17:59:00 (GMT) |
---|---|---|
committer | Artur Ryt <artur.ryt@gmail.com> | 2019-04-02 17:59:54 (GMT) |
commit | 30bb14c65777bad02b3360797bf9c7b0fbe3280e (patch) | |
tree | a6778b486afbc57cfd84bef062ccf87969323a5c /Source/cmUseMangledMesaCommand.cxx | |
parent | 56ae290284a7f6f7298bf7410a361aaecb7ebbe9 (diff) | |
download | CMake-30bb14c65777bad02b3360797bf9c7b0fbe3280e.zip CMake-30bb14c65777bad02b3360797bf9c7b0fbe3280e.tar.gz CMake-30bb14c65777bad02b3360797bf9c7b0fbe3280e.tar.bz2 |
Modernize: Enable modernize-raw-string-literal in clang-tidy
Diffstat (limited to 'Source/cmUseMangledMesaCommand.cxx')
-rw-r--r-- | Source/cmUseMangledMesaCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmUseMangledMesaCommand.cxx b/Source/cmUseMangledMesaCommand.cxx index e4a1b5f..88e415a 100644 --- a/Source/cmUseMangledMesaCommand.cxx +++ b/Source/cmUseMangledMesaCommand.cxx @@ -78,7 +78,7 @@ void cmUseMangledMesaCommand::CopyAndFullPathMesaHeader(const char* source, cmsys::RegularExpression includeLine( "^[ \t]*#[ \t]*include[ \t]*[<\"]([^\">]+)[\">]"); // regular expression for gl/ or GL/ in a file (match(1) of above) - cmsys::RegularExpression glDirLine("(gl|GL)(/|\\\\)([^<\"]+)"); + cmsys::RegularExpression glDirLine(R"((gl|GL)(/|\\)([^<"]+))"); // regular expression for gl GL or xmesa in a file (match(1) of above) cmsys::RegularExpression glLine("(gl|GL|xmesa)"); while (cmSystemTools::GetLineFromStream(fin, inLine)) { |