[llvm-bugs] [Bug 38893] New: ExprMutationAnalyzer mishandles pointers

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 10 10:41:08 PDT 2018


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

            Bug ID: 38893
           Summary: ExprMutationAnalyzer mishandles pointers
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: lebedev.ri at gmail.com
                CC: llvm-bugs at lists.llvm.org

void test(std::vector<const int*>* data) {
  for (auto i = data->begin();
       i != data->end()  // <- considered to be a mutation of data
       ;) {
  }
}

-- 
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/20180910/8983e365/attachment.html>


More information about the llvm-bugs mailing list