[llvm-bugs] [Bug 45108] New: clang-format inserts spaces around inline asm symbolic names
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Mar 5 00:12:35 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=45108
Bug ID: 45108
Summary: clang-format inserts spaces around inline asm symbolic
names
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: hans at chromium.org
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
This is blocking Chromium's update of clang-format.
At current master (llvmorg-11-init-4771-g3a063d68e3c):
$ echo 'asm volatile("mrs %x[result], FPCR" : [ result ] "=r"(result));' |
bin/clang-format --style=Chromium
asm volatile("mrs %x[result], FPCR" : [ result ] "=r"(result));
Expected:
asm volatile("mrs %x[result], FPCR" : [result] "=r"(result));
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200305/1319aaa9/attachment.html>
More information about the llvm-bugs
mailing list