[all-commits] [llvm/llvm-project] a5c2ec: [AST] Store regular ValueDecl* in BindingDecl (NFC)

Aaron Puchert via All-commits all-commits at lists.llvm.org
Thu May 20 07:29:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5c2ec96e5f9f14b31b705e40bcb267257612316
      https://github.com/llvm/llvm-project/commit/a5c2ec96e5f9f14b31b705e40bcb267257612316
  Author: Aaron Puchert <aaronpuchert at alice-dsl.net>
  Date:   2021-05-20 (Thu, 20 May 2021)

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

  Log Message:
  -----------
  [AST] Store regular ValueDecl* in BindingDecl (NFC)

We were always storing a regular ValueDecl* as decomposition declaration
and haven't been using the opportunity to initialize it lazily.

Reviewed By: aaron.ballman

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




More information about the All-commits mailing list