[all-commits] [llvm/llvm-project] 5f52a9: [clang-format] Recognize C# nullable types
Jonathan B Coe via All-commits
all-commits at lists.llvm.org
Fri Feb 28 03:10:05 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5f52a93b698bab3f7083a6d97d3e3a2e303866e0
https://github.com/llvm/llvm-project/commit/5f52a93b698bab3f7083a6d97d3e3a2e303866e0
Author: Jonathan Coe <jbcoe at google.com>
Date: 2020-02-28 (Fri, 28 Feb 2020)
Changed paths:
M clang/lib/Format/FormatToken.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/FormatTestCSharp.cpp
Log Message:
-----------
[clang-format] Recognize C# nullable types
Summary:
Do not confuse C# nullable types with conditional expressions.
Do not put a space before the `?` in `[access-modifier] Type? variableName;`
Reviewers: krasimir, MyDeveloperDay
Reviewed By: krasimir, MyDeveloperDay
Subscribers: cfe-commits, MyDeveloperDay
Tags: #clang-format, #clang
Differential Revision: https://reviews.llvm.org/D75261
More information about the All-commits
mailing list