[llvm-bugs] [Bug 25254] New: range-based for loop temporary range_expression results in "'__range' initialized to a garbage value"

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 19 09:53:02 PDT 2015


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

            Bug ID: 25254
           Summary: range-based for loop temporary range_expression
                    results in "'__range' initialized to a garbage value"
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
          Assignee: kremenek at apple.com
          Reporter: eric.huhtala at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15116
  --> https://llvm.org/bugs/attachment.cgi?id=15116&action=edit
scan-build report

for (auto a : std::vector<int>{0, argc}) {...}

results in "Called c++ object pointer is uninitialized"

-- 
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/20151019/a470b44b/attachment.html>


More information about the llvm-bugs mailing list