[clang] 6b3e5c5 - [clang][Interp][NFC] Remove unused function

Timm Bäder via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 7 00:42:57 PST 2022


Author: Timm Bäder
Date: 2022-11-07T09:42:41+01:00
New Revision: 6b3e5c595b6930ae87aef6d75377663d238c0921

URL: https://github.com/llvm/llvm-project/commit/6b3e5c595b6930ae87aef6d75377663d238c0921
DIFF: https://github.com/llvm/llvm-project/commit/6b3e5c595b6930ae87aef6d75377663d238c0921.diff

LOG: [clang][Interp][NFC] Remove unused function

Added: 
    

Modified: 
    clang/lib/AST/Interp/Interp.h

Removed: 
    


################################################################################
diff  --git a/clang/lib/AST/Interp/Interp.h b/clang/lib/AST/Interp/Interp.h
index b7666745efd4..a90e1246311d 100644
--- 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);
 


        


More information about the cfe-commits mailing list