[all-commits] [llvm/llvm-project] 52557b: [clang-tidy] Fix LLVM include order check policy

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Mon Feb 7 13:32:27 PST 2022


  Branch: refs/heads/release/14.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 52557b918b1dbb50f5ba52644db3be87b7934d9a
      https://github.com/llvm/llvm-project/commit/52557b918b1dbb50f5ba52644db3be87b7934d9a
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2022-02-07 (Mon, 07 Feb 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/llvm/IncludeOrderCheck.cpp
    M clang-tools-extra/test/clang-tidy/checkers/llvm-include-order.cpp
    M clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp

  Log Message:
  -----------
  [clang-tidy] Fix LLVM include order check policy

Clang-format LLVM style has a custom include category for gtest/ and
gmock/ headers between regular includes and angled includes. Do the same here.

Fixes https://github.com/llvm/llvm-project/issues/53525.

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

(cherry picked from commit 0447ec2fb050eb37ed1f5991a1562dea6e228f9e)




More information about the All-commits mailing list