[all-commits] [llvm/llvm-project] ba7bde: [ASTImporter] Add support for BuiltinTemplateDecl

Raphael Isemann via All-commits all-commits at lists.llvm.org
Wed Oct 30 06:53:43 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ba7bde65dcfff543cefc1de9adcda7f503ffffde
      https://github.com/llvm/llvm-project/commit/ba7bde65dcfff543cefc1de9adcda7f503ffffde
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2019-10-30 (Wed, 30 Oct 2019)

  Changed paths:
    M clang/lib/AST/ASTImporter.cpp
    A clang/test/Import/builtin-template/Inputs/S.cpp
    A clang/test/Import/builtin-template/test.cpp

  Log Message:
  -----------
  [ASTImporter] Add support for BuiltinTemplateDecl

Summary:
That decl kind is currently not implemented. BuiltinTemplateDecl is for decls that are hardcoded in the
ASTContext, so we can import them like we do other builtin decls by just taking the equivalent
decl from the target ASTContext.

Reviewers: martong, a.sidorin, shafik

Reviewed By: martong, shafik

Subscribers: rnkovacs, kristina, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list