[all-commits] [llvm/llvm-project] 8682d2: [Format] Add format check for coroutine keywords w...

Brian Gesiak via All-commits all-commits at lists.llvm.org
Sat Nov 30 12:48:20 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8682d29a28772bab0283a141b8701bfaea8881a6
      https://github.com/llvm/llvm-project/commit/8682d29a28772bab0283a141b8701bfaea8881a6
  Author: Brian Gesiak <modocache at gmail.com>
  Date:   2019-11-30 (Sat, 30 Nov 2019)

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

  Log Message:
  -----------
  [Format] Add format check for coroutine keywords with negative numbers

Summary:
As a followup to D69144, this diff fixes the coroutine keyword spacing
for co_yield / co_returning negative numbers.

Reviewers: modocache, sammccall, Quuxplusone

Reviewed By: modocache

Subscribers: cfe-commits

Tags: #clang

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

Patch by Jonathan Thomas (jonathoma)!




More information about the All-commits mailing list