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

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Thu Feb 3 08:34:04 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0447ec2fb050eb37ed1f5991a1562dea6e228f9e
      https://github.com/llvm/llvm-project/commit/0447ec2fb050eb37ed1f5991a1562dea6e228f9e
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2022-02-03 (Thu, 03 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




More information about the All-commits mailing list