Skip to content

Commit

Permalink
[clang][Interp][NFC] Declare Pointer::operator<< earlier
Browse files Browse the repository at this point in the history
So we can use it in Pointer.h as well when debugging.
  • Loading branch information
tbaederr committed Aug 17, 2023
1 parent 6f7812f commit 3cd8196
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clang/lib/AST/Interp/Pointer.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ class DeadBlock;
class Pointer;
enum PrimType : unsigned;

class Pointer;
inline llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const Pointer &P);

/// A pointer to a memory block, live or dead.
///
/// This object can be allocated into interpreter stack frames. If pointing to
Expand Down

0 comments on commit 3cd8196

Please sign in to comment.