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