[clang] df33d17 - [clang][Interp][NFC] Remove an unused function
Timm Bäder via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 25 07:03:47 PST 2023
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
More information about the cfe-commits
mailing list