[all-commits] [llvm/llvm-project] 87ba95: [NFC] Don't recompute Linkage for Decl in Release ...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Thu Mar 9 23:24:10 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 87ba95aa212a4fd363a4dd52677e9eea5224a4e7
      https://github.com/llvm/llvm-project/commit/87ba95aa212a4fd363a4dd52677e9eea5224a4e7
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2023-03-10 (Fri, 10 Mar 2023)

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

  Log Message:
  -----------
  [NFC] Don't recompute Linkage for Decl in Release Modes

In the assertion enabled mode we will test if the computed linkage of
Declaration is consistent with the cached linkage. But we shouldn't
compuate it if we have cached linkage in the release modes.




More information about the All-commits mailing list