From: Timm Bäder Date: Wed, 7 Dec 2022 15:18:29 +0000 (+0100) Subject: [clang][Interp][NFC] Remove an unused function X-Git-Tag: upstream/17.0.6~19638 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df33d17b38a179fb3f811d1983a48f160220d699;p=platform%2Fupstream%2Fllvm.git [clang][Interp][NFC] Remove an unused function --- diff --git a/clang/lib/AST/Interp/PrimType.h b/clang/lib/AST/Interp/PrimType.h index 042325a..db9d8c3 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(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