[clang] d6cb1fd - [clang][Interp][NFC] Remove some unused aliases.

Timm Bäder via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 21 01:50:17 PDT 2022


Author: Timm Bäder
Date: 2022-10-21T10:49:45+02:00
New Revision: d6cb1fd7b366b7e3fa3cbe8129f11298279e72c4

URL: https://github.com/llvm/llvm-project/commit/d6cb1fd7b366b7e3fa3cbe8129f11298279e72c4
DIFF: https://github.com/llvm/llvm-project/commit/d6cb1fd7b366b7e3fa3cbe8129f11298279e72c4.diff

LOG: [clang][Interp][NFC] Remove some unused aliases.

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 ffe8e83725436..6cc45bd4d0154 100644
--- a/clang/lib/AST/Interp/ByteCodeExprGen.h
+++ b/clang/lib/AST/Interp/ByteCodeExprGen.h
@@ -41,12 +41,6 @@ template <class Emitter>
 class ByteCodeExprGen : public ConstStmtVisitor<ByteCodeExprGen<Emitter>, bool>,
                         public Emitter {
 protected:
-  // Emitters for opcodes of various arities.
-  using NullaryFn = bool (ByteCodeExprGen::*)(const SourceInfo &);
-  using UnaryFn = bool (ByteCodeExprGen::*)(PrimType, const SourceInfo &);
-  using BinaryFn = bool (ByteCodeExprGen::*)(PrimType, PrimType,
-                                             const SourceInfo &);
-
   // Aliases for types defined in the emitter.
   using LabelTy = typename Emitter::LabelTy;
   using AddrTy = typename Emitter::AddrTy;


        


More information about the cfe-commits mailing list