summaryrefslogtreecommitdiff
path: root/Source/cmRST.cxx
diff options
context:
space:
mode:
authorArtur Ryt <artur.ryt@gmail.com>2019-04-02 19:59:00 +0200
committerArtur Ryt <artur.ryt@gmail.com>2019-04-02 19:59:54 +0200
commit30bb14c65777bad02b3360797bf9c7b0fbe3280e (patch)
treea6778b486afbc57cfd84bef062ccf87969323a5c /Source/cmRST.cxx
parent56ae290284a7f6f7298bf7410a361aaecb7ebbe9 (diff)
downloadcmake-30bb14c65777bad02b3360797bf9c7b0fbe3280e.tar.gz
Modernize: Enable modernize-raw-string-literal in clang-tidy
Diffstat (limited to 'Source/cmRST.cxx')
-rw-r--r--Source/cmRST.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmRST.cxx b/Source/cmRST.cxx
index 5917e27337..b7216b0cc7 100644
--- a/Source/cmRST.cxx
+++ b/Source/cmRST.cxx
@@ -33,7 +33,7 @@ cmRST::cmRST(std::ostream& os, std::string docroot)
, TocTreeDirective("^.. toctree::[ \t]*(.*)$")
, ProductionListDirective("^.. productionlist::[ \t]*(.*)$")
, NoteDirective("^.. note::[ \t]*(.*)$")
- , ModuleRST("^#\\[(=*)\\[\\.rst:$")
+ , ModuleRST(R"(^#\[(=*)\[\.rst:$)")
, CMakeRole("(:cmake)?:("
"command|cpack_gen|generator|variable|envvar|module|policy|"
"prop_cache|prop_dir|prop_gbl|prop_inst|prop_sf|"