Skip to content

Commit

Permalink
[clang][Interp][NFC] Fix comment typos
Browse files Browse the repository at this point in the history
  • Loading branch information
tbaederr committed Feb 6, 2024
1 parent 82950a6 commit ccc77f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clang/lib/AST/Interp/Interp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>();
Expand Down
2 changes: 1 addition & 1 deletion clang/lib/AST/Interp/Pointer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ccc77f1

Please sign in to comment.