[llvm-bugs] [Bug 24758] New: AlignConsecutiveAssignments missalign if TabWidth is not 8
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Sep 9 01:58:11 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24758
Bug ID: 24758
Summary: AlignConsecutiveAssignments missalign if TabWidth is
not 8
Product: clang
Version: 3.7
Hardware: PC
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: deadmaxfr at gmail.com
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
Classification: Unclassified
The alignment of consecutive assignments doesn't work if the TabWidth option is
not 8.
Each time a tab is inserted, a shift of one space is made
For example, with "TabWidth: 4":
const char *bigger_var = "Something else";
const char *small = "Something";
const char *tiny = "Hi!"
Result as:
const char *bigger_var = "Something else";
const char *small = "Something";
const char *tiny = "Hi!"
--
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/20150909/f2b0f2e8/attachment-0001.html>
More information about the llvm-bugs
mailing list