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);
 


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to