https://bugs.llvm.org/show_bug.cgi?id=34220
Bug ID: 34220
Summary: Add option for const-before and const-after (or
const-left/const-right)
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Formatter
Assignee: unassignedclangb...@nondot.org
Reporter: von.llvm....@martin-ueding.de
CC: djas...@google.com, kli...@google.com,
llvm-bugs@lists.llvm.org
In the codebase that I work on, the existing code is const-left, so `const T`.
There now is the need to have `T * const*` and also `T const* const*`,
therefore I prefer the const-right now.
Would it be possible in the realm of clang-format to offer an additional option
which could consistently change the placement of the outermost `const` to the
left or right of the outermost type?
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs