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

Richard Smith via All-commits all-commits at lists.llvm.org
Tue Mar 3 15:28:42 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bdad0a1b79273733df9acc1be4e992fa5d70ec56
      https://github.com/llvm/llvm-project/commit/bdad0a1b79273733df9acc1be4e992fa5d70ec56
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-03-03 (Tue, 03 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.




More information about the All-commits mailing list