[PATCH] D79354: [clang-format] [PR34574] Handle [[nodiscard]] attribute in class declaration

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 5 10:14:24 PDT 2020


krasimir added inline comments.


================
Comment at: clang/lib/Format/UnwrappedLineParser.cpp:2401
   // The actual identifier can be a nested name specifier, and in macros
   // it is often token-pasted.
   while (FormatTok->isOneOf(tok::identifier, tok::coloncolon, tok::hashhash,
----------------
nit: add, e.g., "//... or an [[attribute]] ...//"


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79354/new/

https://reviews.llvm.org/D79354





More information about the cfe-commits mailing list