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:
c8341a6
)
[clang][Interp][NFC] Remove unused function
author
Timm Bäder
<tbaeder@redhat.com>
Sun, 30 Oct 2022 09:22:44 +0000
(10:22 +0100)
committer
Timm Bäder
<tbaeder@redhat.com>
Mon, 7 Nov 2022 08:42:41 +0000
(09:42 +0100)
clang/lib/AST/Interp/Interp.h
patch
|
blob
|
history
diff --git
a/clang/lib/AST/Interp/Interp.h
b/clang/lib/AST/Interp/Interp.h
index
b766674
..
a90e124
100644
(file)
--- a/
clang/lib/AST/Interp/Interp.h
+++ b/
clang/lib/AST/Interp/Interp.h
@@
-112,8
+112,6
@@
bool CheckDivRem(InterpState &S, CodePtr OpPC, const T &LHS, const T &RHS) {
return true;
}
-template <typename T> inline bool IsTrue(const T &V) { return !V.isZero(); }
-
/// Interpreter entry point.
bool Interpret(InterpState &S, APValue &Result);