projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56184bb
)
[clang][Interp][NFC] Remove an unused function
author
Timm Bäder
<tbaeder@redhat.com>
Wed, 7 Dec 2022 15:18:29 +0000
(16:18 +0100)
committer
Timm Bäder
<tbaeder@redhat.com>
Wed, 25 Jan 2023 15:03:33 +0000
(16:03 +0100)
clang/lib/AST/Interp/PrimType.h
patch
|
blob
|
history
diff --git
a/clang/lib/AST/Interp/PrimType.h
b/clang/lib/AST/Interp/PrimType.h
index
042325a
..
db9d8c3
100644
(file)
--- 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