[llvm-bugs] [Bug 48410] New: parameter PointerAlignemtn when #define interface struct
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Dec 6 06:01:35 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=48410
Bug ID: 48410
Summary: parameter PointerAlignemtn when #define interface
struct
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: dvirtz at gmail.com
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
https://gcc.godbolt.org/z/fee4Y6
Code is
#define interface struct
struct One {
template <typename T>
bool DynamicCast(T*& pObj);
};
interface Two {
template <typename T>
bool DynamicCast(T*& pObj);
};
.clang-format is
PointerAlignment: Left
One::DynamicCast parameter is formatted correctly but Two::DynamicCast's
parameter doesn't have correct PointerAlignment
interface Two {
template <typename T> bool DynamicCast(T * &pObj);
};
--
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/20201206/67a93478/attachment-0001.html>
More information about the llvm-bugs
mailing list