[all-commits] [llvm/llvm-project] 9c9974: [clang] Limit the maximum level of fold-expr expan...

Haojian Wu via All-commits all-commits at lists.llvm.org
Tue Sep 8 06:40:57 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c9974c3ccb6468cc83f759240293538cf123fcd
      https://github.com/llvm/llvm-project/commit/9c9974c3ccb6468cc83f759240293538cf123fcd
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2020-09-08 (Tue, 08 Sep 2020)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/TreeTransform.h
    A clang/test/SemaCXX/fold_expr_expansion_limit.cpp

  Log Message:
  -----------
  [clang] Limit the maximum level of fold-expr expansion.

Introduce a new diagnostic, and respect the bracket-depth (256) by default.

Differential Revision: https://reviews.llvm.org/D86936




More information about the All-commits mailing list