[all-commits] [llvm/llvm-project] b81cc6: [clang][NFC] Make various uses of Regex const

RoboTux via All-commits all-commits at lists.llvm.org
Tue Nov 19 08:15:41 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b81cc6032902c810e0fde485d3092a947dc38541
      https://github.com/llvm/llvm-project/commit/b81cc6032902c810e0fde485d3092a947dc38541
  Author: Thomas Preud'homme <thomasp at graphcore.ai>
  Date:   2019-11-19 (Tue, 19 Nov 2019)

  Changed paths:
    M clang/include/clang/Tooling/Inclusions/HeaderIncludes.h
    M clang/lib/Format/BreakableToken.cpp
    M clang/lib/Format/BreakableToken.h
    M clang/lib/Format/NamespaceEndCommentsFixer.cpp
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/tools/clang-refactor/TestSupport.cpp

  Log Message:
  -----------
  [clang][NFC] Make various uses of Regex const

The const-correctness of match() was fixed in 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.

Reviewers: thopre

Reviewed By: thopre

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D68155




More information about the All-commits mailing list