[all-commits] [llvm/llvm-project] 5a9f38: [clang-tidy] Make clang-format and include-order-c...

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Tue Nov 17 05:54:34 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a9f3867046c4e1c97760e22a505f4d1d788417e
      https://github.com/llvm/llvm-project/commit/5a9f3867046c4e1c97760e22a505f4d1d788417e
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2020-11-17 (Tue, 17 Nov 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/llvm/IncludeOrderCheck.cpp
    A clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/gmock/foo.h
    M clang-tools-extra/test/clang-tidy/checkers/llvm-include-order.cpp

  Log Message:
  -----------
  [clang-tidy] Make clang-format and include-order-check coherent

LLVM style puts both gtest and gmock to the end of the include list.
But llvm-include-order-check was only moving gtest headers to the end, resulting
in a false tidy-warning.

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




More information about the All-commits mailing list