Author: Timm Bäder Date: 2024-02-06T12:37:27+01:00 New Revision: ccc77f1194f894db8ec93131124a7a2848e3e079
URL: https://github.com/llvm/llvm-project/commit/ccc77f1194f894db8ec93131124a7a2848e3e079 DIFF: https://github.com/llvm/llvm-project/commit/ccc77f1194f894db8ec93131124a7a2848e3e079.diff LOG: [clang][Interp][NFC] Fix comment typos Added: Modified: clang/lib/AST/Interp/Interp.h clang/lib/AST/Interp/Pointer.h Removed: ################################################################################ diff --git a/clang/lib/AST/Interp/Interp.h b/clang/lib/AST/Interp/Interp.h index 6c99fa2f9d14b..b33cf55c61f03 100644 --- a/clang/lib/AST/Interp/Interp.h +++ b/clang/lib/AST/Interp/Interp.h @@ -1878,7 +1878,7 @@ inline bool ArrayElemPtrPop(InterpState &S, CodePtr OpPC) { return NarrowPtr(S, OpPC); } -/// Just takes a pointer and checks if its' an incomplete +/// Just takes a pointer and checks if it's an incomplete /// array type. inline bool ArrayDecay(InterpState &S, CodePtr OpPC) { const Pointer &Ptr = S.Stk.pop<Pointer>(); diff --git a/clang/lib/AST/Interp/Pointer.h b/clang/lib/AST/Interp/Pointer.h index b3a3a98a043c7..fa2e03d71190f 100644 --- a/clang/lib/AST/Interp/Pointer.h +++ b/clang/lib/AST/Interp/Pointer.h @@ -339,7 +339,7 @@ class Pointer { } /// Checks if a structure is a base class. bool isBaseClass() const { return isField() && getInlineDesc()->IsBase; } - /// Checks if the pointer pointers to a dummy value. + /// Checks if the pointer points to a dummy value. bool isDummy() const { if (!Pointee) return false; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits