[PATCH] D68155: [clang][NFC] Make various uses of Regex const
Nicolas Guillemot via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 27 12:17:25 PDT 2019
nlguillemot created this revision.
nlguillemot added a reviewer: thopre.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
The const-correctness of match() was fixed in rL372764 <https://reviews.llvm.org/rL372764>, which allows
uses of Regex objects to be const in cases they couldn't be before. This
patch tightens up the const-ness of Regex in various such cases.
Repository:
rC Clang
https://reviews.llvm.org/D68155
Files:
include/clang/Tooling/Inclusions/HeaderIncludes.h
lib/Format/BreakableToken.cpp
lib/Format/BreakableToken.h
lib/Format/NamespaceEndCommentsFixer.cpp
lib/Format/UnwrappedLineParser.cpp
tools/clang-refactor/TestSupport.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68155.222226.patch
Type: text/x-patch
Size: 13870 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190927/1becbf93/attachment.bin>
More information about the cfe-commits
mailing list