[llvm-bugs] [Bug 46933] New: Code breaking reformat for simdjson.h
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jul 31 07:03:52 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=46933
Bug ID: 46933
Summary: Code breaking reformat for simdjson.h
Product: clang
Version: 10.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: happy.cerberus at gmail.com
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
Code breaking reformat. The warning disabling macros are broken when processed
with this style (spaces inserted in places where they shouldn't).
Example after reformat:
SIMDJSON_DISABLE_GCC_WARNING(-Wmicrosoft - include)
Processing this file:
https://github.com/simdjson/simdjson/blob/master/singleheader/simdjson.h
With this style:
BasedOnStyle: Google
---
Language: Cpp
AlignOperands: true
AlignAfterOpenBracket: AlwaysBreak
AllowAllParametersOfDeclarationOnNextLine: true
BinPackParameters: false
BinPackArguments: false
DerivePointerAlignment: false
PointerAlignment: Left
ColumnLimit: 100
--
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/20200731/ac43e5fc/attachment.html>
More information about the llvm-bugs
mailing list