[clang] 9166842 - [clang][NFC] Fix a documentation typo

Timm Bäder via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 6 03:37:45 PST 2023


Author: Timm Bäder
Date: 2023-02-06T12:37:36+01:00
New Revision: 9166842bc6fbd9c9b45134aa09a44b68ad1d7f02

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

LOG: [clang][NFC] Fix a documentation typo

Added: 
    

Modified: 
    clang/include/clang/AST/Expr.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/AST/Expr.h b/clang/include/clang/AST/Expr.h
index 485278917994..df2573324b75 100644
--- a/clang/include/clang/AST/Expr.h
+++ b/clang/include/clang/AST/Expr.h
@@ -665,8 +665,8 @@ class Expr : public ValueStmt {
                        SideEffectsKind AllowSideEffects = SE_NoSideEffects,
                        bool InConstantContext = false) const;
 
-  /// EvaluateAsFloat - Return true if this is a constant which we can fold and
-  /// convert to a fixed point value.
+  /// EvaluateAsFixedPoint - Return true if this is a constant which we can fold
+  /// and convert to a fixed point value.
   bool EvaluateAsFixedPoint(EvalResult &Result, const ASTContext &Ctx,
                             SideEffectsKind AllowSideEffects = SE_NoSideEffects,
                             bool InConstantContext = false) const;


        


More information about the cfe-commits mailing list