[llvm] 19c0c0b - TypeSize: remove unused deprecated methods

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 28 00:33:38 PDT 2023


Author: Fangrui Song
Date: 2023-10-28T00:33:33-07:00
New Revision: 19c0c0bdc8bd3b1a68f4d16647ed1e023e1a8e38

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

LOG: TypeSize: remove unused deprecated methods

Forgotten in commit 547a5073bed9dec25aec29751c036e2fb7d251c2

Added: 
    

Modified: 
    llvm/include/llvm/Support/TypeSize.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Support/TypeSize.h b/llvm/include/llvm/Support/TypeSize.h
index 732757c14a96de5..8e638f8278e828b 100644
--- a/llvm/include/llvm/Support/TypeSize.h
+++ b/llvm/include/llvm/Support/TypeSize.h
@@ -328,10 +328,6 @@ class TypeSize : public details::FixedOrScalableQuantity<TypeSize, uint64_t> {
     return TypeSize(MinimumSize, true);
   }
 
-  constexpr ScalarTy getFixedSize() const { return getFixedValue(); }
-  
-  constexpr ScalarTy getKnownMinSize() const { return getKnownMinValue(); }
-
   // All code for this class below this point is needed because of the
   // temporary implicit conversion to uint64_t. The operator overloads are
   // needed because otherwise the conversion of the parent class


        


More information about the llvm-commits mailing list