[llvm-bugs] [Bug 24671] New: clang-format doesn't format this code to 80 character width

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Sep 1 21:35:46 PDT 2015


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: unassignedclangbugs at nondot.org
          Reporter: ryan.burn at gmail.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150902/5bae21e6/attachment-0001.html>


More information about the llvm-bugs mailing list