[all-commits] [llvm/llvm-project] 00c0ce: [NFC] [Clang] Remove pre-computed complex float types

Qiu Chaofan via All-commits all-commits at lists.llvm.org
Fri Oct 8 00:52:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 00c0ce0655da804c2ffb1a2a807052298032acc6
      https://github.com/llvm/llvm-project/commit/00c0ce0655da804c2ffb1a2a807052298032acc6
  Author: Qiu Chaofan <qiucofan at cn.ibm.com>
  Date:   2021-10-08 (Fri, 08 Oct 2021)

  Changed paths:
    M clang/include/clang/AST/ASTContext.h
    M clang/lib/AST/ASTContext.cpp
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
    M lldb/unittests/Symbol/TestTypeSystemClang.cpp

  Log Message:
  -----------
  [NFC] [Clang] Remove pre-computed complex float types

As discussed in D109948, pre-computing all complex float types is not
necessary and brings extra overhead. This patch removes these defined
types, and construct them in-place when needed.

Reviewed By: teemperor

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




More information about the All-commits mailing list