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: unassignedclangb...@nondot.org
          Reporter: vexoc...@gmail.com
                CC: dgre...@apple.com, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to