[PATCH] D79773: [clang-format] Improve clang-formats handling of concepts
    MyDeveloperDay via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Wed May 13 03:11:42 PDT 2020
    
    
  
MyDeveloperDay updated this revision to Diff 263655.
MyDeveloperDay edited the summary of this revision.
MyDeveloperDay added a comment.
Introduce the concept of `TT_ConstraintJuncitons` for both `&&` and `||` (Conjunctions and Disjunctions) as these were confusing the layout as often they are treated as TT_BinaryOperator and or TT_PointerOrReference
This allow more specific concepts base rules and keeps the code separate from other TT_BinaryOperator rules
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79773/new/
https://reviews.llvm.org/D79773
Files:
  clang/docs/ClangFormatStyleOptions.rst
  clang/docs/ReleaseNotes.rst
  clang/include/clang/Format/Format.h
  clang/lib/Format/Format.cpp
  clang/lib/Format/FormatToken.h
  clang/lib/Format/TokenAnnotator.cpp
  clang/lib/Format/UnwrappedLineParser.cpp
  clang/lib/Format/UnwrappedLineParser.cpp.new
  clang/lib/Format/UnwrappedLineParser.h
  clang/unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79773.263655.patch
Type: text/x-patch
Size: 115133 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200513/2b5031d1/attachment-0001.bin>
    
    
More information about the cfe-commits
mailing list