Skip to content

Commit

Permalink
[clang][Interp][NFC] Forward-declare Pointer in InterpFrame.h
Browse files Browse the repository at this point in the history
We don't need the full include here.
  • Loading branch information
tbaederr committed Sep 29, 2022
1 parent 18a5fc5 commit 1d31549
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions clang/lib/AST/Interp/InterpFrame.cpp
Expand Up @@ -10,6 +10,7 @@
#include "Function.h"
#include "Interp.h"
#include "InterpStack.h"
#include "Pointer.h"
#include "PrimType.h"
#include "Program.h"
#include "clang/AST/DeclCXX.h"
Expand Down
2 changes: 1 addition & 1 deletion clang/lib/AST/Interp/InterpFrame.h
Expand Up @@ -14,7 +14,6 @@
#define LLVM_CLANG_AST_INTERP_INTERPFRAME_H

#include "Frame.h"
#include "Pointer.h"
#include "Program.h"
#include "State.h"
#include <cstdint>
Expand All @@ -24,6 +23,7 @@ namespace clang {
namespace interp {
class Function;
class InterpState;
class Pointer;

/// Frame storing local variables.
class InterpFrame final : public Frame {
Expand Down

0 comments on commit 1d31549

Please sign in to comment.