[PATCH] D86936: [clang] Limit the maximum level of fold-expr expansion.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 2 06:41:51 PDT 2020


sammccall accepted this revision.
sammccall added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:5096
+def err_fold_expression_limit_exceeded: Error<
+  "instantiating fold expression with %0 arguements exceeded expression nesting "
+  "limit of %1">, DefaultFatal, NoSFINAE;
----------------
arguements -> arguments


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86936



More information about the cfe-commits mailing list