[PATCH] D68091: [sancov][NFC] Make filename Regexes "const"

Thomas Preud'homme via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 27 02:39:33 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL373058: [sancov][NFC] Make filename Regexes "const" (authored by thopre, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D68091?vs=221982&id=222110#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68091/new/

https://reviews.llvm.org/D68091

Files:
  llvm/trunk/tools/sancov/sancov.cpp


Index: llvm/trunk/tools/sancov/sancov.cpp
===================================================================
--- llvm/trunk/tools/sancov/sancov.cpp
+++ llvm/trunk/tools/sancov/sancov.cpp
@@ -123,8 +123,8 @@
 static const uint32_t Bitness32 = 0xFFFFFF32;
 static const uint32_t Bitness64 = 0xFFFFFF64;
 
-static Regex SancovFileRegex("(.*)\\.[0-9]+\\.sancov");
-static Regex SymcovFileRegex(".*\\.symcov");
+static const Regex SancovFileRegex("(.*)\\.[0-9]+\\.sancov");
+static const Regex SymcovFileRegex(".*\\.symcov");
 
 // --------- MAIN DATASTRUCTURES ----------
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68091.222110.patch
Type: text/x-patch
Size: 571 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190927/a30ae92b/attachment.bin>


More information about the llvm-commits mailing list