]> granicus.if.org Git - clang/commit
[format] Initialize regex lazily
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 20 Mar 2018 20:43:12 +0000 (20:43 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 20 Mar 2018 20:43:12 +0000 (20:43 +0000)
commit936f16c17bff39e45afce2e33eb13564082c4b8c
tree79bf86bb27a18f0750b240dcb411771ac5fdf943
parent84b06643882a1ea97ab1684a0e36b411e1c2fe2d
[format] Initialize regex lazily

No need to pay for this on program startup, and also no need to destroy
it on process end.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@328041 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/NamespaceEndCommentsFixer.cpp