[all-commits] [llvm/llvm-project] ce9bad: [clang][ASTImporter] Add import API for 'const Typ...

Balázs Kéri via All-commits all-commits at lists.llvm.org
Mon Mar 22 06:28:42 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce9bade1f2c6249cf4179842aeb5e7e3bb34ceec
      https://github.com/llvm/llvm-project/commit/ce9bade1f2c6249cf4179842aeb5e7e3bb34ceec
  Author: Balázs Kéri <1.int32 at gmail.com>
  Date:   2021-03-22 (Mon, 22 Mar 2021)

  Changed paths:
    M clang/include/clang/AST/ASTImporter.h
    M clang/lib/AST/ASTImporter.cpp

  Log Message:
  -----------
  [clang][ASTImporter] Add import API for 'const Type *' (NFC).

There was only an `Import` function for `QualType` but not for `Type`.
For correct import of some AST nodes where not `QualType` is used
an import of `Type *` is needed. (It is the case with
`FieldDecl::getCapturedVLAType`.)

Reviewed By: shafik, teemperor, martong

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




More information about the All-commits mailing list