[llvm-bugs] [Bug 25292] New: Missing warning for unused variables in catch statement
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Oct 22 15:09:06 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=25292
Bug ID: 25292
Summary: Missing warning for unused variables in catch
statement
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: vexocide at gmail.com
CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 15145
--> https://llvm.org/bugs/attachment.cgi?id=15145&action=edit
Test case
In the snippet below I expected an unused variable warning for "foo", though no
such warning was emitted.
int main()
{
try
{
}
catch (int const &foo)
{
}
}
--
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/20151022/1ea11378/attachment.html>
More information about the llvm-bugs
mailing list