[all-commits] [llvm/llvm-project] 57e008: [clang-format] [PR52015] clang-format should put _...

MyDeveloperDay via All-commits all-commits at lists.llvm.org
Wed Oct 20 01:10:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57e00810edd7c4359e3de9242bcbd8874d58dc64
      https://github.com/llvm/llvm-project/commit/57e00810edd7c4359e3de9242bcbd8874d58dc64
  Author: mydeveloperday <mydeveloperday at gmail.com>
  Date:   2021-10-20 (Wed, 20 Oct 2021)

  Changed paths:
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/unittests/Format/FormatTestObjC.cpp

  Log Message:
  -----------
  [clang-format] [PR52015] clang-format should put __attribute__((foo)) on its own line before @interface / @implementation / @protocol

https://bugs.llvm.org/show_bug.cgi?id=52015

A newline should be place between attribute and @ for objectivec

Reviewed By: benhamilton, HazardyKnusperkeks

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




More information about the All-commits mailing list