https://bugs.llvm.org/show_bug.cgi?id=43709
Bug ID: 43709
Summary: Wignored-qualifiers emits a false positive warning for
user defined types returned by const auto
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected]
Consider the example:
struct S{};
const auto bar() { return S{}; } // false positive warning
const S bar1() { return S{}; }
https://godbolt.org/z/XE3F69
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs