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

             Bug #: 14686
           Summary: Formatting inconsistently adds spaces for operator
                    overloading functions
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Currently, operator==, operator!=, operator<=, operator>= all become "operator
== " etc (with spaces on both sides of the operator).

"operator>(" becomes "operator> (" (just a trailing space)

"operator*" becomes "operator *" (just a leading space). Same for "operator&".

operator< remains unchanged.

These should all be formatted consistently; ideally without adding spaces
before or after the operators. (...but "operator bool()" should keep its space
between operator and bool.)

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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