Skip to content

Commit ccc77f1

Browse files
committed
[clang][Interp][NFC] Fix comment typos
1 parent 82950a6 commit ccc77f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/lib/AST/Interp/Interp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1878,7 +1878,7 @@ inline bool ArrayElemPtrPop(InterpState &S, CodePtr OpPC) {
18781878
return NarrowPtr(S, OpPC);
18791879
}
18801880

1881-
/// Just takes a pointer and checks if its' an incomplete
1881+
/// Just takes a pointer and checks if it's an incomplete
18821882
/// array type.
18831883
inline bool ArrayDecay(InterpState &S, CodePtr OpPC) {
18841884
const Pointer &Ptr = S.Stk.pop<Pointer>();

clang/lib/AST/Interp/Pointer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ class Pointer {
339339
}
340340
/// Checks if a structure is a base class.
341341
bool isBaseClass() const { return isField() && getInlineDesc()->IsBase; }
342-
/// Checks if the pointer pointers to a dummy value.
342+
/// Checks if the pointer points to a dummy value.
343343
bool isDummy() const {
344344
if (!Pointee)
345345
return false;

0 commit comments

Comments
 (0)