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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to