Author: Timm Bäder Date: 2023-01-25T16:03:33+01:00 New Revision: df33d17b38a179fb3f811d1983a48f160220d699
URL: https://github.com/llvm/llvm-project/commit/df33d17b38a179fb3f811d1983a48f160220d699 DIFF: https://github.com/llvm/llvm-project/commit/df33d17b38a179fb3f811d1983a48f160220d699.diff LOG: [clang][Interp][NFC] Remove an unused function Added: Modified: clang/lib/AST/Interp/PrimType.h Removed: ################################################################################ diff --git a/clang/lib/AST/Interp/PrimType.h b/clang/lib/AST/Interp/PrimType.h index 042325ad8428..db9d8c3a8579 100644 --- a/clang/lib/AST/Interp/PrimType.h +++ b/clang/lib/AST/Interp/PrimType.h @@ -69,24 +69,6 @@ static inline bool aligned(const void *P) { return aligned(reinterpret_cast<uintptr_t>(P)); } -inline bool isPrimitiveIntegral(PrimType Type) { - switch (Type) { - case PT_Bool: - case PT_Sint8: - case PT_Uint8: - case PT_Sint16: - case PT_Uint16: - case PT_Sint32: - case PT_Uint32: - case PT_Sint64: - case PT_Uint64: - case PT_Float: - return true; - default: - return false; - } -} - } // namespace interp } // namespace clang _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits