[all-commits] [llvm/llvm-project] bf3f42: [ASTImporter] Add linkage check to ASTNodeImporter...

Shafik Yaghmour via All-commits all-commits at lists.llvm.org
Thu Feb 20 12:49:30 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bf3f427ba239bd2942bfaa350d06ed072935f048
      https://github.com/llvm/llvm-project/commit/bf3f427ba239bd2942bfaa350d06ed072935f048
  Author: shafik <syaghmour at apple.com>
  Date:   2020-02-20 (Thu, 20 Feb 2020)

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

  Log Message:
  -----------
  [ASTImporter] Add linkage check to ASTNodeImporter::hasSameVisibilityContext and rename to hasSameVisibilityContextAndLinkage

This fixed is based on the assert in LinkageComputer::getLVForDecl(...) which assumes that all the decls in a redecl chain have the same linkage.

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




More information about the All-commits mailing list