[all-commits] [llvm/llvm-project] b0ea27: [ASTImport]CXXBoolLiteralExpr should be handled ex...

Qizhi Hu via All-commits all-commits at lists.llvm.org
Thu Sep 7 23:54:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0ea2790c41db65b3c283f78a5f534bc26fc6f8f
      https://github.com/llvm/llvm-project/commit/b0ea2790c41db65b3c283f78a5f534bc26fc6f8f
  Author: huqizhi <836744285 at qq.com>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M clang/lib/AST/ASTStructuralEquivalence.cpp
    M clang/unittests/AST/StructuralEquivalenceTest.cpp

  Log Message:
  -----------
  [ASTImport]CXXBoolLiteralExpr should be handled explicitly in statement comparation

In the comparation of return statement, return value(if it is
CXXBoolLiteralExpr) should be handled explicitly, otherwise an
incorrect result would be returned.

Reviewed By: steakhal, donat.nagy

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




More information about the All-commits mailing list