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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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

Reply via email to