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

             Bug #: 14699
           Summary: Formatting should have an option to keep "template
                    <...>" on its own line
           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


In clang, it looks like it's more common to say

  template <class T>
  class AwesomeType {
    ...
  };

than

  template <class T> class AwesomeType {
    ...
  };


There should probably be an option to pick between these styles, and llvm
should probably default to the "template <...> on its own line" style. (For
class definitions only, not for declarations I suppose.)

-- 
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