[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
Sat Jun 17 04:20:58 PDT 2017


EricWF added inline comments.


================
Comment at: lib/Format/UnwrappedLineParser.cpp:433
     case tok::kw___try:
+      assert(!Tok->is(tok::kw_co_await));
       if (!LBraceStack.empty() && LBraceStack.back()->BlockKind == BK_Unknown)
----------------
This change is accidental. 


https://reviews.llvm.org/D34225





More information about the cfe-commits mailing list