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);
 


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to