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

            Bug ID: 24671
           Summary: clang-format doesn't format this code to 80 character
                    width
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: unassignedclangb...@nondot.org
          Reporter: ryan.b...@gmail.com
                CC: djas...@google.com, kli...@google.com,
                    llvm-bugs@lists.llvm.org
    Classification: Unclassified

This is the version of clang I'm using:

clang version 3.7.0 (trunk 234142)
Target: x86_64-unknown-linux-gnu
Thread model: posix

This code doesn't get formatted to 80-character limit:

#include <tuple>                                                                

struct Concept {                                                                
  template <bool... Values>                                                     
  using list = int;                                                             
};                                                                              

struct A : Concept {                                                            
  template <class ExecutionContext, class... ModelDescriptors,                  
            class DataAccessor, class ErrorTypes>                               
  auto require(                                                                 
      ExecutionContext&&, std::tuple<ModelDescriptors...>&&, DataAccessor&&,
ErrorTypes && )
      -> list<>;                                                                
};                                                                              

int main() { return 0; }

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to