[all-commits] [llvm/llvm-project] 86c5b8: [AST] Don't consider 'ExportDecl' when calculating...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Mon Jan 10 17:55:44 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86c5b870b2e5192a9414204500a53b31524db065
      https://github.com/llvm/llvm-project/commit/86c5b870b2e5192a9414204500a53b31524db065
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M clang/lib/AST/DeclBase.cpp
    A clang/test/SemaCXX/lookup-through-export.cpp

  Log Message:
  -----------
  [AST] Don't consider 'ExportDecl' when calculating DeclContext 'Encloses'

This mimics the style of 90010c2e1 (Don't consider 'LinkageSpec' when
calculating DeclContext 'Encloses'). Since ExportDecl and LinkageSpec
are transparent DeclContext, they share some similarity.

Reviewed By: erichkeane

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




More information about the All-commits mailing list