[all-commits] [llvm/llvm-project] 596752: [clang][ASTImporter] Fix an import error handling ...

Balázs Kéri via All-commits all-commits at lists.llvm.org
Wed Apr 13 01:12:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 596752863e27e6b4b89e34ecfcf5317a5bf46b52
      https://github.com/llvm/llvm-project/commit/596752863e27e6b4b89e34ecfcf5317a5bf46b52
  Author: Balázs Kéri <1.int32 at gmail.com>
  Date:   2022-04-13 (Wed, 13 Apr 2022)

  Changed paths:
    M clang/lib/AST/ASTImporter.cpp
    M clang/unittests/AST/ASTImporterTest.cpp

  Log Message:
  -----------
  [clang][ASTImporter] Fix an import error handling related bug.

This bug can cause that more import errors are generated than necessary
and many objects fail to import. Chance of an invalid AST after these
imports increases.

Reviewed By: martong

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




More information about the All-commits mailing list