[PATCH] D34225: [clang-format] Teach clang-format how to handle C++ coroutines

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 14 16:42:04 PDT 2017


EricWF created this revision.
Herald added a subscriber: klimek.

This patch (1) enable parsing for coroutines by default and (2) teaches clang-format how to properly handle them.


https://reviews.llvm.org/D34225

Files:
  lib/Format/Format.cpp
  lib/Format/TokenAnnotator.cpp
  lib/Format/UnwrappedLineParser.cpp
  unittests/Format/FormatTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34225.102624.patch
Type: text/x-patch
Size: 4493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170614/e2f4f391/attachment.bin>


More information about the cfe-commits mailing list