[all-commits] [llvm/llvm-project] a67949: [clang-format] treat 'lock' as a keyword for C# code

Jonathan B Coe via All-commits all-commits at lists.llvm.org
Mon Jun 8 05:39:26 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a67949913a6b19860fdc616da2fad00bf7beb3f8
      https://github.com/llvm/llvm-project/commit/a67949913a6b19860fdc616da2fad00bf7beb3f8
  Author: Jonathan Coe <jbcoe at google.com>
  Date:   2020-06-08 (Mon, 08 Jun 2020)

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

  Log Message:
  -----------
  [clang-format] treat 'lock' as a keyword for C# code

Summary: This will put a space in `lock (process)` when spaces are required after keywords.

Reviewers: krasimir

Reviewed By: krasimir

Subscribers: cfe-commits

Tags: #clang-format, #clang

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




More information about the All-commits mailing list