[all-commits] [llvm/llvm-project] 0f9b71: [clang-tidy] fix hint use correct range to replace...

Congcong Cai via All-commits all-commits at lists.llvm.org
Sat Apr 8 12:04:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f9b71d11b91d6fb7fa678a12327bafbc43605b5
      https://github.com/llvm/llvm-project/commit/0f9b71d11b91d6fb7fa678a12327bafbc43605b5
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2023-04-08 (Sat, 08 Apr 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/modernize/ConcatNestedNamespacesCheck.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize/concat-nested-namespaces.cpp

  Log Message:
  -----------
  [clang-tidy] fix hint use correct range to replace last NamespaceDecl

range of replacing last namespace decl should be from last non nested namespace to last namespace

Reviewed By: PiotrZSL

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




More information about the All-commits mailing list