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/cmProjectCommand.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/cmProjectCommand.cxx')
-rw-r--r-- | Source/cmProjectCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmProjectCommand.cxx b/Source/cmProjectCommand.cxx index de5d1ed..1165026 100644 --- a/Source/cmProjectCommand.cxx +++ b/Source/cmProjectCommand.cxx @@ -214,7 +214,7 @@ bool cmProjectCommand::InitialPass(std::vector<std::string> const& args, } cmsys::RegularExpression vx( - "^([0-9]+(\\.[0-9]+(\\.[0-9]+(\\.[0-9]+)?)?)?)?$"); + R"(^([0-9]+(\.[0-9]+(\.[0-9]+(\.[0-9]+)?)?)?)?$)"); if (!vx.find(version)) { std::string e = "VERSION \"" + version + "\" format invalid."; this->Makefile->IssueMessage(MessageType::FATAL_ERROR, e); |