[all-commits] [llvm/llvm-project] f6b252: [clang-format] Add BreakBeforeInlineASMColon confi...
Anastasiia Lukianenko via All-commits
all-commits at lists.llvm.org
Thu Nov 10 13:31:35 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f6b252978c40bc437d8495218a69e3bd166b105b
https://github.com/llvm/llvm-project/commit/f6b252978c40bc437d8495218a69e3bd166b105b
Author: Anastasiia Lukianenko <vicooodin at gmail.com>
Date: 2022-11-10 (Thu, 10 Nov 2022)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/include/clang/Format/Format.h
M clang/lib/Format/ContinuationIndenter.cpp
M clang/lib/Format/Format.cpp
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Add BreakBeforeInlineASMColon configuration
If true, colons in ASM parameters will be placed after line breaks.
true:
asm volatile("string",
:
: val);
false:
asm volatile("string", : : val);
Differential Revision: https://reviews.llvm.org/D91950
More information about the All-commits
mailing list