[llvm-bugs] [Bug 32015] New: Feature request: Option to auto-align method names in header files
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Feb 20 01:27:15 PST 2017
https://bugs.llvm.org/show_bug.cgi?id=32015
Bug ID: 32015
Summary: Feature request: Option to auto-align method names in
header files
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: anton.petrov.83 at gmail.com
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
Out projects use method names alignment which seems impossible with current
clang-format. The code looks like this:
class SimpleClass
{
public:
SimpleClass();
explicit SimpleClass( const String& str );
virtual ~SimpleClass();
virtual void DoSomething();
virtual String GetSomeText();
virtual std::vector<int> GetNumbers();
// Please note that return type is too long here and is not accounted in
alignments.
// Usually we use columns 25, 29, 33 for alignment.
virtual const std::unordered_map<String, String>& GetSomeMap();
};
--
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/20170220/b7a89119/attachment.html>
More information about the llvm-bugs
mailing list