Skip to content

Commit

Permalink
[clang][Interp][NFC] Remove duplicate private specifier
Browse files Browse the repository at this point in the history
  • Loading branch information
tbaederr committed Jul 9, 2023
1 parent a83079f commit 1402c43
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions clang/lib/AST/Interp/Source.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,9 @@ class CodePtr final {
}

private:
friend class Function;
/// Constructor used by Function to generate pointers.
CodePtr(const char *Ptr) : Ptr(Ptr) {}

private:
friend class Function;

/// Pointer into the code owned by a function.
const char *Ptr;
};
Expand Down

0 comments on commit 1402c43

Please sign in to comment.