[PATCH] D130322: [clang][CodeGen] Only include ABIInfo.h where required (NFC)

Sergei Barannikov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 21 18:26:01 PDT 2022


barannikov88 added inline comments.


================
Comment at: clang/lib/CodeGen/TargetInfo.h:49
 public:
-  TargetCodeGenInfo(std::unique_ptr<ABIInfo> Info) : Info(std::move(Info)) {}
+  TargetCodeGenInfo(std::unique_ptr<ABIInfo> Info);
   virtual ~TargetCodeGenInfo();
----------------
Had to do this due to "incomplete class" error. Should not change a thing because this constructor is ever used in TargetInfo.cpp, where it now resides.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130322/new/

https://reviews.llvm.org/D130322



More information about the cfe-commits mailing list