[llvm-bugs] [Bug 38175] New: -Wlarge-by-value-copy: misleading documentation
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jul 16 01:14:35 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38175
Bug ID: 38175
Summary: -Wlarge-by-value-copy: misleading documentation
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: sylvestre at debian.org
CC: akyrtzi at gmail.com, dgregor at apple.com,
llvm-bugs at lists.llvm.org
In the documentation, it is said that "This diagnostic is enabled by default.":
https://clang.llvm.org/docs/DiagnosticsReference.html#wlarge-by-value-copy
However, this is an incorrect statement as it is only the case with a value is
provided.
https://github.com/llvm-mirror/clang/blob/master/lib/Sema/SemaDecl.cpp#L12081
I could not see how to update the source to provide this info so that
clang-tblgen uses it.
--
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/20180716/7415bc1b/attachment-0001.html>
More information about the llvm-bugs
mailing list