[all-commits] [llvm/llvm-project] 9c3f1f: [lldb][ClangASTImporter][NFC] Remove redundant cal...

Michael Buch via All-commits all-commits at lists.llvm.org
Thu Aug 17 09:55:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c3f1f42cbed0fa6184cd2047b34ab5090503e9e
      https://github.com/llvm/llvm-project/commit/9c3f1f42cbed0fa6184cd2047b34ab5090503e9e
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2023-08-17 (Thu, 17 Aug 2023)

  Changed paths:
    M lldb/source/Plugins/ExpressionParser/Clang/ClangASTImporter.cpp

  Log Message:
  -----------
  [lldb][ClangASTImporter][NFC] Remove redundant calls to ASTImporter::Imported

The ASTImporter::Imported base method has been made a no-op in
26f72a96559f2acd6799c363f1ca88ef3238c601. So all calls to it from
a base-class are now redundant. The API is now only used to notify
subclasses that an import occurred and not for any other
bookkeeping (which is done in MapImported which we call properly).

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




More information about the All-commits mailing list