[PATCH] D69180: [Format] Add format check for coroutine keywords with negative numbers
Brian Gesiak via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Nov 30 12:49:46 PST 2019
modocache added inline comments.
================
Comment at: clang/lib/Format/TokenAnnotator.cpp:1761
+ tok::kw_case, tok::at, tok::l_brace, tok::kw_throw,
+ tok::kw_co_return, tok_kw_co_yield))
return TT_UnaryOperator;
----------------
I didn't notice this during review, but `tok_kw_co_yield` is a typo. I'm replacing this with `tok::kw_co_yield` in the commit I'm making for this patch, as that spelling allows the build and tests to pass.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69180/new/
https://reviews.llvm.org/D69180
More information about the cfe-commits
mailing list