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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to