[clang][Interp][NFC] Remove unused function
authorTimm Bäder <tbaeder@redhat.com>
Sun, 30 Oct 2022 09:22:44 +0000 (10:22 +0100)
committerTimm Bäder <tbaeder@redhat.com>
Mon, 7 Nov 2022 08:42:41 +0000 (09:42 +0100)
clang/lib/AST/Interp/Interp.h

index b766674..a90e124 100644 (file)
@@ -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);