[all-commits] [llvm/llvm-project] 1e076a: Make sure Objective-C category support in IncludeS...

compositeprimes via All-commits all-commits at lists.llvm.org
Mon Oct 26 12:25:12 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e076a8d8099a6c179c8773f2e621f9408ee2402
      https://github.com/llvm/llvm-project/commit/1e076a8d8099a6c179c8773f2e621f9408ee2402
  Author: Joe Turner <joeturner at me.com>
  Date:   2020-10-26 (Mon, 26 Oct 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/utils/IncludeSorter.cpp
    M clang-tools-extra/unittests/clang-tidy/IncludeInserterTest.cpp

  Log Message:
  -----------
  Make sure Objective-C category support in IncludeSorter handles top-level imports

Currently, this would not correctly associate a category with the related include if it was top-level (i.e. no slashes in the path). This ensures that we explicitly think about that case.

Reviewed By: gribozavr2

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




More information about the All-commits mailing list