[PATCH] D148961: [clang] Remove unnecessary virtual inheritance in `TargetInfo`
Sviatoslav Osipov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 24 02:15:25 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG368112e2024a: [clang] Remove unnecessary virtual inheritance in `TargetInfo` (authored by Stoorx).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148961/new/
https://reviews.llvm.org/D148961
Files:
clang/include/clang/Basic/TargetInfo.h
Index: clang/include/clang/Basic/TargetInfo.h
===================================================================
--- clang/include/clang/Basic/TargetInfo.h
+++ clang/include/clang/Basic/TargetInfo.h
@@ -202,7 +202,7 @@
/// Exposes information about the current target.
///
-class TargetInfo : public virtual TransferrableTargetInfo,
+class TargetInfo : public TransferrableTargetInfo,
public RefCountedBase<TargetInfo> {
std::shared_ptr<TargetOptions> TargetOpts;
llvm::Triple Triple;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148961.516317.patch
Type: text/x-patch
Size: 516 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230424/e512832d/attachment.bin>
More information about the cfe-commits
mailing list