[clang] c6ce32d - [clang][Interp][NFC] Fix a comment

Timm Bäder via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 5 01:34:45 PDT 2023


Author: Timm Bäder
Date: 2023-09-05T10:28:47+02:00
New Revision: c6ce32d9c348f69b19d8b3bfb4e0e3c3ea3bf679

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

LOG: [clang][Interp][NFC] Fix a comment

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 180bd5add2e262..a78b3921b0c7dd 100644
--- a/clang/lib/AST/Interp/Interp.h
+++ b/clang/lib/AST/Interp/Interp.h
@@ -166,7 +166,7 @@ bool CheckDivRem(InterpState &S, CodePtr OpPC, const T &LHS, const T &RHS) {
   return true;
 }
 
-/// Checks if the result is a floating-point operation is valid
+/// Checks if the result of a floating-point operation is valid
 /// in the current context.
 bool CheckFloatResult(InterpState &S, CodePtr OpPC, APFloat::opStatus Status);
 


        


More information about the cfe-commits mailing list