This revision was automatically updated to reflect the committed changes. Closed by commit rG5b0c8dd3a4fd: [lldb] Delete ClangForward.h (authored by xiaobai).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D73827/new/ https://reviews.llvm.org/D73827 Files: lldb/include/lldb/Core/ClangForward.h lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.h lldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.h lldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.h lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionHelper.h lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.h lldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.h lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.h lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.h lldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.h lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.h lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
Index: lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h =================================================================== --- lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h +++ lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h @@ -27,7 +27,6 @@ #include "llvm/ADT/SmallVector.h" #include "Plugins/ExpressionParser/Clang/ClangPersistentVariables.h" -#include "lldb/Core/ClangForward.h" #include "lldb/Expression/ExpressionVariable.h" #include "lldb/Symbol/CompilerType.h" #include "lldb/Symbol/TypeSystem.h" Index: lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h =================================================================== --- lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h +++ lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h @@ -19,7 +19,6 @@ #include "DWARFDefines.h" #include "DWARFFormValue.h" #include "LogChannelDWARF.h" -#include "lldb/Core/ClangForward.h" #include "lldb/Core/PluginInterface.h" #include "Plugins/ExpressionParser/Clang/ClangASTImporter.h" Index: lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h =================================================================== --- lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h +++ lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h @@ -17,7 +17,6 @@ #include "llvm/Support/Casting.h" #include "lldb/Breakpoint/BreakpointPrecondition.h" -#include "lldb/Core/ClangForward.h" #include "lldb/Core/PluginInterface.h" #include "lldb/Core/ThreadSafeDenseMap.h" #include "lldb/Symbol/CompilerType.h" Index: lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp =================================================================== --- lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp +++ lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp @@ -15,13 +15,11 @@ #include "clang/AST/ASTContext.h" #include "clang/AST/DeclObjC.h" -#include "lldb/Core/ClangForward.h" #include "lldb/Host/OptionParser.h" #include "lldb/Symbol/CompilerType.h" #include "lldb/lldb-enumerations.h" #include "Plugins/TypeSystem/Clang/TypeSystemClang.h" -#include "lldb/Core/ClangForward.h" #include "lldb/Core/Debugger.h" #include "lldb/Core/Module.h" #include "lldb/Core/PluginManager.h" Index: lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.h =================================================================== --- lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.h +++ lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.h @@ -10,7 +10,6 @@ #ifndef liblldb_IRForTarget_h_ #define liblldb_IRForTarget_h_ -#include "lldb/Core/ClangForward.h" #include "lldb/Symbol/TaggedASTType.h" #include "lldb/Utility/ConstString.h" #include "lldb/Utility/Status.h" @@ -38,6 +37,10 @@ class Value; } +namespace clang { +class NamedDecl; +} + namespace lldb_private { class ClangExpressionDeclMap; class IRExecutionUnit; Index: lldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.h =================================================================== --- lldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.h +++ lldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.h @@ -15,7 +15,6 @@ #include "ClangExpressionHelper.h" -#include "lldb/Core/ClangForward.h" #include "lldb/Expression/UtilityFunction.h" #include "lldb/lldb-forward.h" #include "lldb/lldb-private.h" Index: lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.h =================================================================== --- lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.h +++ lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.h @@ -20,7 +20,6 @@ #include "IRForTarget.h" #include "lldb/Core/Address.h" -#include "lldb/Core/ClangForward.h" #include "lldb/Expression/LLVMUserExpression.h" #include "lldb/Expression/Materializer.h" #include "lldb/Target/ExecutionContext.h" Index: lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.h =================================================================== --- lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.h +++ lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.h @@ -9,7 +9,6 @@ #ifndef liblldb_ClangModulesDeclVendor_h #define liblldb_ClangModulesDeclVendor_h -#include "lldb/Core/ClangForward.h" #include "lldb/Symbol/SourceModule.h" #include "lldb/Target/Platform.h" Index: lldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.h =================================================================== --- lldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.h +++ lldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.h @@ -12,7 +12,6 @@ #include "ClangExpressionHelper.h" #include "lldb/Core/Address.h" -#include "lldb/Core/ClangForward.h" #include "lldb/Core/Value.h" #include "lldb/Core/ValueObjectList.h" #include "lldb/Expression/FunctionCaller.h" Index: lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.h =================================================================== --- lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.h +++ lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.h @@ -19,7 +19,6 @@ #include "llvm/Support/Casting.h" -#include "lldb/Core/ClangForward.h" #include "lldb/Core/Value.h" #include "lldb/Expression/ExpressionVariable.h" #include "lldb/Symbol/TaggedASTType.h" @@ -30,6 +29,10 @@ class Value; } +namespace clang { +class NamedDecl; +} + namespace lldb_private { class ValueObjectConstResult; Index: lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h =================================================================== --- lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h +++ lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h @@ -9,7 +9,6 @@ #ifndef liblldb_ClangExpressionParser_h_ #define liblldb_ClangExpressionParser_h_ -#include "lldb/Core/ClangForward.h" #include "lldb/Expression/DiagnosticManager.h" #include "lldb/Expression/ExpressionParser.h" #include "lldb/Utility/ArchSpec.h" @@ -19,9 +18,15 @@ #include <string> #include <vector> +namespace llvm { +class LLVMContext; +} + namespace clang { +class CodeGenerator; class CodeCompleteConsumer; -} +class CompilerInstance; +} // namespace clang namespace lldb_private { Index: lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionHelper.h =================================================================== --- lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionHelper.h +++ lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionHelper.h @@ -13,12 +13,14 @@ #include <string> #include <vector> - -#include "lldb/Core/ClangForward.h" #include "lldb/Expression/ExpressionTypeSystemHelper.h" #include "lldb/lldb-forward.h" #include "lldb/lldb-private.h" +namespace clang { +class ASTConsumer; +} + namespace lldb_private { class RecordingMemoryManager; Index: lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h =================================================================== --- lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h +++ lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h @@ -17,7 +17,6 @@ #include "ClangASTSource.h" #include "ClangExpressionVariable.h" -#include "lldb/Core/ClangForward.h" #include "lldb/Core/Value.h" #include "lldb/Expression/Materializer.h" #include "lldb/Symbol/SymbolContext.h" Index: lldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.h =================================================================== --- lldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.h +++ lldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.h @@ -9,9 +9,12 @@ #ifndef liblldb_ClangDeclVendor_h_ #define liblldb_ClangDeclVendor_h_ -#include "lldb/Core/ClangForward.h" #include "lldb/Symbol/DeclVendor.h" +namespace clang { +class NamedDecl; +} + namespace lldb_private { // A clang specialized extension to DeclVendor. Index: lldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.h =================================================================== --- lldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.h +++ lldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.h @@ -12,7 +12,6 @@ #include "ClangExpressionVariable.h" #include "ClangFunctionCaller.h" -#include "lldb/Core/ClangForward.h" #include "clang/Sema/SemaConsumer.h" namespace lldb_private { Index: lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.h =================================================================== --- lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.h +++ lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.h @@ -9,10 +9,17 @@ #ifndef liblldb_ASTResultSynthesizer_h_ #define liblldb_ASTResultSynthesizer_h_ -#include "lldb/Core/ClangForward.h" #include "lldb/Target/Target.h" #include "clang/Sema/SemaConsumer.h" +namespace clang { +class CompoundStmt; +class DeclContext; +class NamedDecl; +class ObjCMethodDecl; +class TypeDecl; +} // namespace clang + namespace lldb_private { /// \class ASTResultSynthesizer ASTResultSynthesizer.h Index: lldb/include/lldb/Core/ClangForward.h =================================================================== --- lldb/include/lldb/Core/ClangForward.h +++ /dev/null @@ -1,133 +0,0 @@ -//===-- ClangForward.h ------------------------------------------*- C++ -*-===// -// -// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -// See https://llvm.org/LICENSE.txt for license information. -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -// -//===----------------------------------------------------------------------===// - -#ifndef liblldb_ClangForward_h_ -#define liblldb_ClangForward_h_ - - -#if defined(__cplusplus) - -namespace clang { -namespace Builtin { -class Context; -} - -class ASTConsumer; -class ASTContext; -class ASTRecordLayout; -class AddrLabelExpr; -class AnalyzerOptions; -class BinaryOperator; -class ClassTemplateDecl; -class ClassTemplateSpecializationDecl; -class CodeGenOptions; -class CodeGenerator; -class CompilerInstance; -class CompoundStmt; -class CXXBaseSpecifier; -class CXXBoolLiteralExpr; -class CXXFunctionalCastExpr; -class CXXMethodDecl; -class CXXNamedCastExpr; -class CXXRecordDecl; -class CXXThisExpr; -class CharacterLiteral; -class CompoundAssignOperator; -class Decl; -class DeclarationName; -class DeclaratorDecl; -class DeclContext; -class DeclRefExpr; -class DeclStmt; -class DependencyOutputOptions; -class Diagnostic; -class DiagnosticConsumer; -class DiagnosticsEngine; -class DiagnosticOptions; -class EnumDecl; -class EnumConstantDecl; -class Expr; -class ExternalASTSource; -class ExtVectorElementExpr; -class FieldDecl; -class FileManager; -class FileSystemOptions; -class FloatingLiteral; -class FrontendOptions; -class FunctionDecl; -class FunctionTemplateDecl; -class FunctionTemplateSpecializationInfo; -class GotoStmt; -class HeaderSearchOptions; -class IdentifierInfo; -class IdentifierTable; -class IntegerLiteral; -class LabelStmt; -class LangOptions; -class MacroDirective; -class MemberExpr; -class Module; -class NamedDecl; -class NamespaceDecl; -class NonTypeTemplateParmDecl; -class ObjCEncodeExpr; -class ObjCImplicitSetterGetterRefExpr; -class ObjCInterfaceDecl; -class ObjCIvarDecl; -class ObjCIvarRefExpr; -class ObjCMessageExpr; -class ObjCMethodDecl; -class ObjCPropertyRefExpr; -class ObjCProtocolDecl; -class ObjCProtocolExpr; -class ObjCSelectorExpr; -class ObjCSuperExpr; -class ParenExpr; -class ParmVarDecl; -class PredefinedExpr; -class PreprocessorOptions; -class PreprocessorOutputOptions; -class QualType; -class QualifiedNameType; -class RecordDecl; -class SelectorTable; -class SizeOfAlignOfExpr; -class SourceLocation; -class SourceManager; -class Stmt; -class StmtIteratorBase; -class StringLiteral; -class TagDecl; -class TargetInfo; -class TargetOptions; -class TemplateArgument; -class TemplateDecl; -class TemplateParameterList; -class TemplateTemplateParmDecl; -class TemplateTypeParmDecl; -class TextDiagnosticBuffer; -class TranslationUnitDecl; -class Type; -class TypeDecl; -class TypedefDecl; -class TypesCompatibleExpr; -class UnaryOperator; -class ValueDecl; -class VarDecl; -struct PrintingPolicy; -} - -namespace llvm { -class APInt; -class APSInt; -class LLVMContext; -class ExecutionEngine; -} - -#endif // #if defined(__cplusplus) -#endif // liblldb_ClangForward_h_
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits