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: unassignedclangb...@nondot.org
Reporter: happy.cerbe...@gmail.com
CC: djas...@google.com, kli...@google.com,
llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs