[all-commits] [llvm/llvm-project] 3a8430: PR45083: Mark statement expressions as being depen...

Richard Smith via All-commits all-commits at lists.llvm.org
Wed Mar 4 00:29:40 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a843031a5ad83a00d2603f623881cb2b2bf719d
      https://github.com/llvm/llvm-project/commit/3a843031a5ad83a00d2603f623881cb2b2bf719d
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-03-04 (Wed, 04 Mar 2020)

  Changed paths:
    M clang/include/clang/AST/Expr.h
    M clang/include/clang/Sema/Sema.h
    M clang/lib/AST/ASTImporter.cpp
    M clang/lib/Parse/ParseExpr.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/test/SemaTemplate/dependent-expr.cpp

  Log Message:
  -----------
  PR45083: Mark statement expressions as being dependent if they appear in
dependent contexts.

We previously assumed they were neither value- nor
instantiation-dependent under any circumstances, which would lead to
crashes and other misbehavior.

(cherry picked from commit bdad0a1b79273733df9acc1be4e992fa5d70ec56)




More information about the All-commits mailing list