[all-commits] [llvm/llvm-project] 2009f2: Remove a bogus assertion.

Richard Smith via All-commits all-commits at lists.llvm.org
Thu Jan 12 17:57:35 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2009f2450532450a99c1a03d5e2c30f478121839
      https://github.com/llvm/llvm-project/commit/2009f2450532450a99c1a03d5e2c30f478121839
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2023-01-12 (Thu, 12 Jan 2023)

  Changed paths:
    M clang/include/clang/AST/PropertiesBase.td

  Log Message:
  -----------
  Remove a bogus assertion.

The result of recomputing the type of an LValue may be different from
the type we find serialized with that LValue, either due to differing
type sugar in a redeclaration, or more significantly due to a later
declaration of a variable having an array bound that a prior declaration
did not have. Therefore this assertion was attempting to verify a
property that isn't necessarily true.




More information about the All-commits mailing list