[llvm-bugs] [Bug 52595] New: clang-format does not recognize rvalue references to array
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Nov 23 21:05:42 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=52595
Bug ID: 52595
Summary: clang-format does not recognize rvalue references to
array
Product: clang
Version: trunk
Hardware: All
OS: All
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
struct FnArray {
template <class T, int N>
constexpr int operator()(T (&)[N]) const { return 0; } // 1
template <class T, int N>
constexpr int operator()(T(&&)[N]) const { return 1; } // 2
};
Note that the line // 2 lost the space between T and the open (.
--
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/20211124/242d2046/attachment.html>
More information about the llvm-bugs
mailing list