http://llvm.org/bugs/show_bug.cgi?id=19176

            Bug ID: 19176
           Summary: Suggest ':' when '=' used in range-based-for
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

Maybe I'm the odd one out (some diagnostic data mining might help verify this),
but I often find myself accidentally writing "for(foo f = foos)" instead of
"for(foo f : foos)"

A fixit hint/recovery would be nice here - if there's sufficient popularity of
this mistake.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to