Skip to content

Commit

Permalink
[lldb] Forward-declare ClangExpressionParser (NFC)
Browse files Browse the repository at this point in the history
ClangUserExpression.h is relying on the forward declaration of
ClangExpressionParser in ClangFunctionCaller.h.  This patch moves the
forward declaration to ClangUserExpression.h.
  • Loading branch information
kazutakahirata committed Jan 30, 2022
1 parent 2bea207 commit 5423839
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -21,7 +21,6 @@
namespace lldb_private {

class ASTStructExtractor;
class ClangExpressionParser;

/// \class ClangFunctionCaller ClangFunctionCaller.h
/// "lldb/Expression/ClangFunctionCaller.h" Encapsulates a function that can
Expand Down
Expand Up @@ -28,6 +28,8 @@

namespace lldb_private {

class ClangExpressionParser;

/// \class ClangUserExpression ClangUserExpression.h
/// "lldb/Expression/ClangUserExpression.h" Encapsulates a single expression
/// for use with Clang
Expand Down

0 comments on commit 5423839

Please sign in to comment.