[llvm-bugs] [Bug 43716] New: false positive on main's argc / argv

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 18 14:39:48 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=43716

            Bug ID: 43716
           Summary: false positive on main's argc / argv
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++14
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nmmm at e-nick.org
                CC: blitzrakete at gmail.com, erik.pilkington at gmail.com,
                    llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk

Created attachment 22689
  --> https://bugs.llvm.org/attachment.cgi?id=22689&action=edit
clang report

I can not simplify the code.

probably connection between argc and argv is lost after

char **path = argv + 3;

-- 
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/20191018/3c6462c6/attachment.html>


More information about the llvm-bugs mailing list