[clang] 3276ac8 - [clang][Interp][NFC] Remove unused function prototype
Timm Bäder via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 8 07:40:33 PDT 2023
Author: Timm Bäder
Date: 2023-09-08T16:40:10+02:00
New Revision: 3276ac86aa2c8d573738681245ccfbb5a7914d8a
URL: https://github.com/llvm/llvm-project/commit/3276ac86aa2c8d573738681245ccfbb5a7914d8a
DIFF: https://github.com/llvm/llvm-project/commit/3276ac86aa2c8d573738681245ccfbb5a7914d8a.diff
LOG: [clang][Interp][NFC] Remove unused function prototype
This was causing warnings in MSVC.
Added:
Modified:
clang/lib/AST/Interp/ByteCodeExprGen.h
Removed:
################################################################################
diff --git a/clang/lib/AST/Interp/ByteCodeExprGen.h b/clang/lib/AST/Interp/ByteCodeExprGen.h
index 4b5d298fd1b317f..470d43a5d4c77e3 100644
--- a/clang/lib/AST/Interp/ByteCodeExprGen.h
+++ b/clang/lib/AST/Interp/ByteCodeExprGen.h
@@ -277,8 +277,6 @@ class ByteCodeExprGen : public ConstStmtVisitor<ByteCodeExprGen<Emitter>, bool>,
bool emitPrimCast(PrimType FromT, PrimType ToT, QualType ToQT, const Expr *E);
bool emitRecordDestruction(const Descriptor *Desc);
- bool emitDerivedToBaseCasts(const RecordType *DerivedType,
- const RecordType *BaseType, const Expr *E);
unsigned collectBaseOffset(const RecordType *BaseType,
const RecordType *DerivedType);
More information about the cfe-commits
mailing list