[llvm-bugs] [Bug 48504] New: ColumnLimit with inline comments
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Dec 14 10:58:24 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=48504
Bug ID: 48504
Summary: ColumnLimit with inline comments
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: ckramer at ara.com
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
We would appreciate an option in clang-format to not count inline comments
against a line's column limit.
std::string test = "this is a string"; // and has an inline comment
^ last "actual" character to count
So assuming the new option was something like
IncludeInlineCommentsInColumLimit, if true follow the ReflowComments option, if
false leave the comment alone unless the actual code itself exceeds the column
limit.
--
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/20201214/88690cc9/attachment.html>
More information about the llvm-bugs
mailing list