[llvm-bugs] [Bug 43851] New: Extra spaces surrounding arrow in templated member call in variable decl
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Oct 30 10:01:03 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=43851
Bug ID: 43851
Summary: Extra spaces surrounding arrow in templated member
call in variable decl
Product: clang
Version: 8.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: lichray at gmail.com
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
Created attachment 22749
--> https://bugs.llvm.org/attachment.cgi?id=22749&action=edit
repro
The last declaration in the following code:
struct A {
template <int> A foo();
};
auto p = new A;
auto x = p -> foo<1>();
Should be
auto x = p->foo<1>();
--
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/20191030/89d0cb54/attachment.html>
More information about the llvm-bugs
mailing list