[clang] 3f928e7 - [clang][Interp][NFC] Fix a doc comment and a typo

Timm Bäder via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 17 05:44:28 PDT 2023


Author: Timm Bäder
Date: 2023-07-17T14:44:09+02:00
New Revision: 3f928e787b4eeb3ec501e785127229f2575ec769

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

LOG: [clang][Interp][NFC] Fix a doc comment and a typo

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/clang/lib/AST/Interp/Function.h b/clang/lib/AST/Interp/Function.h
index 207fb294d6e047..357e6e2bf50968 100644
--- a/clang/lib/AST/Interp/Function.h
+++ b/clang/lib/AST/Interp/Function.h
@@ -149,7 +149,7 @@ class Function final {
 
   bool hasThisPointer() const { return HasThisPointer; }
 
-  // Checks if the funtion already has a body attached.
+  /// Checks if the function already has a body attached.
   bool hasBody() const { return HasBody; }
 
   unsigned getBuiltinID() const { return F->getBuiltinID(); }


        


More information about the cfe-commits mailing list