diff options
44 files changed, 15 insertions, 392 deletions
diff --git a/lldb/include/lldb/Core/Address.h b/lldb/include/lldb/Core/Address.h index 62a29995fad..080c00e7632 100644 --- a/lldb/include/lldb/Core/Address.h +++ b/lldb/include/lldb/Core/Address.h @@ -19,36 +19,15 @@ namespace lldb_private { class Block; -} -namespace lldb_private { class CompileUnit; -} -namespace lldb_private { class ExecutionContextScope; -} -namespace lldb_private { class Function; -} -namespace lldb_private { class SectionList; -} -namespace lldb_private { class Stream; -} -namespace lldb_private { class Symbol; -} -namespace lldb_private { class SymbolContext; -} -namespace lldb_private { class Target; -} -namespace lldb_private { struct LineEntry; -} - -namespace lldb_private { /// \class Address Address.h "lldb/Core/Address.h" /// A section + offset based address class. diff --git a/lldb/include/lldb/Core/AddressRange.h b/lldb/include/lldb/Core/AddressRange.h index 832c08e6e50..4a019bfcfc3 100644 --- a/lldb/include/lldb/Core/AddressRange.h +++ b/lldb/include/lldb/Core/AddressRange.h @@ -17,15 +17,8 @@ namespace lldb_private { class SectionList; -} -namespace lldb_private { class Stream; -} -namespace lldb_private { class Target; -} - -namespace lldb_private { /// \class AddressRange AddressRange.h "lldb/Core/AddressRange.h" /// A section + offset based address range class. diff --git a/lldb/include/lldb/Core/AddressResolver.h b/lldb/include/lldb/Core/AddressResolver.h index 1eb13574952..cd95c7c31cd 100644 --- a/lldb/include/lldb/Core/AddressResolver.h +++ b/lldb/include/lldb/Core/AddressResolver.h @@ -18,11 +18,7 @@ namespace lldb_private { class ModuleList; -} -namespace lldb_private { class Stream; -} -namespace lldb_private { /// \class AddressResolver AddressResolver.h "lldb/Core/AddressResolver.h" /// This class works with SearchFilter to resolve function names and source diff --git a/lldb/include/lldb/Core/AddressResolverFileLine.h b/lldb/include/lldb/Core/AddressResolverFileLine.h index 0b4edc22c52..b98e7d4c633 100644 --- a/lldb/include/lldb/Core/AddressResolverFileLine.h +++ b/lldb/include/lldb/Core/AddressResolverFileLine.h @@ -18,15 +18,8 @@ namespace lldb_private { class Address; -} -namespace lldb_private { class Stream; -} -namespace lldb_private { class SymbolContext; -} - -namespace lldb_private { /// \class AddressResolverFileLine AddressResolverFileLine.h /// "lldb/Core/AddressResolverFileLine.h" This class finds address for source diff --git a/lldb/include/lldb/Core/AddressResolverName.h b/lldb/include/lldb/Core/AddressResolverName.h index 8f591f71753..ad14ef6daeb 100644 --- a/lldb/include/lldb/Core/AddressResolverName.h +++ b/lldb/include/lldb/Core/AddressResolverName.h @@ -17,15 +17,8 @@ namespace lldb_private { class Address; -} -namespace lldb_private { class Stream; -} -namespace lldb_private { class SymbolContext; -} - -namespace lldb_private { /// \class AddressResolverName AddressResolverName.h /// "lldb/Core/AddressResolverName.h" This class finds addresses for a given diff --git a/lldb/include/lldb/Core/Communication.h b/lldb/include/lldb/Core/Communication.h index 3874f0bd166..901b8fdb8c8 100644 --- a/lldb/include/lldb/Core/Communication.h +++ b/lldb/include/lldb/Core/Communication.h @@ -27,15 +27,8 @@ namespace lldb_private { class Connection; -} -namespace lldb_private { class ConstString; -} -namespace lldb_private { class Status; -} - -namespace lldb_private { /// \class Communication Communication.h "lldb/Core/Communication.h" An /// abstract communications class. diff --git a/lldb/include/lldb/Core/Debugger.h b/lldb/include/lldb/Core/Debugger.h index 794a32b88cf..8e608717a80 100644 --- a/lldb/include/lldb/Core/Debugger.h +++ b/lldb/include/lldb/Core/Debugger.h @@ -45,34 +45,21 @@ #include <stddef.h> #include <stdio.h> -namespace lldb_private { -class Address; +namespace llvm { +class raw_ostream; } + namespace lldb_private { +class Address; class CommandInterpreter; -} -namespace lldb_private { class Process; -} -namespace lldb_private { class Stream; -} -namespace lldb_private { class SymbolContext; -} -namespace lldb_private { class Target; -} -namespace lldb_private { + namespace repro { class DataRecorder; } -} // namespace lldb_private -namespace llvm { -class raw_ostream; -} - -namespace lldb_private { /// \class Debugger Debugger.h "lldb/Core/Debugger.h" /// A class to manage flag bits. diff --git a/lldb/include/lldb/Core/Disassembler.h b/lldb/include/lldb/Core/Disassembler.h index b708fee0163..ba9ca87832f 100644 --- a/lldb/include/lldb/Core/Disassembler.h +++ b/lldb/include/lldb/Core/Disassembler.h @@ -38,41 +38,21 @@ #include <stdint.h> #include <stdio.h> -namespace lldb_private { -class AddressRange; +namespace llvm { +template <typename T> class SmallVectorImpl; } + namespace lldb_private { +class AddressRange; class DataExtractor; -} -namespace lldb_private { class Debugger; -} -namespace lldb_private { class Disassembler; -} -namespace lldb_private { class Module; -} -namespace lldb_private { class Stream; -} -namespace lldb_private { class SymbolContext; -} -namespace lldb_private { class SymbolContextList; -} -namespace lldb_private { class Target; -} -namespace lldb_private { struct RegisterInfo; -} -namespace llvm { -template <typename T> class SmallVectorImpl; -} - -namespace lldb_private { class Instruction { public: diff --git a/lldb/include/lldb/Core/EmulateInstruction.h b/lldb/include/lldb/Core/EmulateInstruction.h index f08cf2ca3fa..6b19c17e549 100644 --- a/lldb/include/lldb/Core/EmulateInstruction.h +++ b/lldb/include/lldb/Core/EmulateInstruction.h @@ -23,26 +23,14 @@ #include <stddef.h> #include <stdint.h> + namespace lldb_private { class OptionValueDictionary; -} -namespace lldb_private { class RegisterContext; -} -namespace lldb_private { class RegisterValue; -} -namespace lldb_private { class Stream; -} -namespace lldb_private { class Target; -} -namespace lldb_private { class UnwindPlan; -} - -namespace lldb_private { /// \class EmulateInstruction EmulateInstruction.h /// "lldb/Core/EmulateInstruction.h" diff --git a/lldb/include/lldb/Core/FileLineResolver.h b/lldb/include/lldb/Core/FileLineResolver.h index f3cde73368e..1967ed58cd3 100644 --- a/lldb/include/lldb/Core/FileLineResolver.h +++ b/lldb/include/lldb/Core/FileLineResolver.h @@ -18,12 +18,7 @@ namespace lldb_private { class Address; -} -namespace lldb_private { class Stream; -} - -namespace lldb_private { /// \class FileLineResolver FileLineResolver.h "lldb/Core/FileLineResolver.h" /// This class finds address for source file and line. Optionally, it will diff --git a/lldb/include/lldb/Core/FileSpecList.h b/lldb/include/lldb/Core/FileSpecList.h index cbc26c39145..79623ef1fdc 100644 --- a/lldb/include/lldb/Core/FileSpecList.h +++ b/lldb/include/lldb/Core/FileSpecList.h @@ -18,9 +18,6 @@ namespace lldb_private { class Stream; -} - -namespace lldb_private { /// \class FileSpecList FileSpecList.h "lldb/Core/FileSpecList.h" /// A file collection class. diff --git a/lldb/include/lldb/Core/FormatEntity.h b/lldb/include/lldb/Core/FormatEntity.h index b183624b61b..a0ece6833cd 100644 --- a/lldb/include/lldb/Core/FormatEntity.h +++ b/lldb/include/lldb/Core/FormatEntity.h @@ -23,20 +23,10 @@ namespace lldb_private { class Address; -} -namespace lldb_private { class ExecutionContext; -} -namespace lldb_private { class Stream; -} -namespace lldb_private { class StringList; -} -namespace lldb_private { class SymbolContext; -} -namespace lldb_private { class ValueObject; } namespace llvm { diff --git a/lldb/include/lldb/Core/Module.h b/lldb/include/lldb/Core/Module.h index 25b04a34715..544895ea89e 100644 --- a/lldb/include/lldb/Core/Module.h +++ b/lldb/include/lldb/Core/Module.h @@ -39,57 +39,22 @@ namespace lldb_private { class CompilerDeclContext; -} -namespace lldb_private { class Function; -} -namespace lldb_private { class Log; -} -namespace lldb_private { class ObjectFile; -} -namespace lldb_private { class RegularExpression; -} -namespace lldb_private { class SectionList; -} -namespace lldb_private { class Stream; -} -namespace lldb_private { class Symbol; -} -namespace lldb_private { class SymbolContext; -} -namespace lldb_private { class SymbolContextList; -} -namespace lldb_private { class SymbolFile; -} -namespace lldb_private { class SymbolVendor; -} -namespace lldb_private { class Symtab; -} -namespace lldb_private { class Target; -} -namespace lldb_private { class TypeList; -} -namespace lldb_private { class TypeMap; -} -namespace lldb_private { class VariableList; -} - -namespace lldb_private { /// \class Module Module.h "lldb/Core/Module.h" /// A class that describes an executable image and its associated diff --git a/lldb/include/lldb/Core/ModuleList.h b/lldb/include/lldb/Core/ModuleList.h index 0db9bfd6930..57ed3c8cf1f 100644 --- a/lldb/include/lldb/Core/ModuleList.h +++ b/lldb/include/lldb/Core/ModuleList.h @@ -31,48 +31,19 @@ namespace lldb_private { class ConstString; -} -namespace lldb_private { class FileSpecList; -} -namespace lldb_private { class Function; -} -namespace lldb_private { class Log; -} -namespace lldb_private { class Module; -} -namespace lldb_private { class RegularExpression; -} -namespace lldb_private { class Stream; -} -namespace lldb_private { class SymbolContext; -} -namespace lldb_private { class SymbolContextList; -} -namespace lldb_private { class SymbolFile; -} -namespace lldb_private { class Target; -} -namespace lldb_private { class TypeList; -} -namespace lldb_private { class UUID; -} -namespace lldb_private { class VariableList; -} - -namespace lldb_private { class ModuleListProperties : public Properties { public: diff --git a/lldb/include/lldb/Core/Opcode.h b/lldb/include/lldb/Core/Opcode.h index 9fdcfdf40ed..1a30ce4834a 100644 --- a/lldb/include/lldb/Core/Opcode.h +++ b/lldb/include/lldb/Core/Opcode.h @@ -18,18 +18,13 @@ #include <stdint.h> #include <string.h> -namespace lldb_private { -class DataExtractor; -} -namespace lldb_private { -class Stream; -} - namespace lldb { class SBInstruction; } namespace lldb_private { +class DataExtractor; +class Stream; class Opcode { public: diff --git a/lldb/include/lldb/Core/PluginManager.h b/lldb/include/lldb/Core/PluginManager.h index 10185f3ad14..b21b5cf14cb 100644 --- a/lldb/include/lldb/Core/PluginManager.h +++ b/lldb/include/lldb/Core/PluginManager.h @@ -22,17 +22,9 @@ namespace lldb_private { class CommandInterpreter; -} -namespace lldb_private { class ConstString; -} -namespace lldb_private { class Debugger; -} -namespace lldb_private { class StringList; -} -namespace lldb_private { class PluginManager { public: diff --git a/lldb/include/lldb/Core/SearchFilter.h b/lldb/include/lldb/Core/SearchFilter.h index 59de910d069..bf3c4ec6145 100644 --- a/lldb/include/lldb/Core/SearchFilter.h +++ b/lldb/include/lldb/Core/SearchFilter.h @@ -19,32 +19,14 @@ namespace lldb_private { class Address; -} -namespace lldb_private { class Breakpoint; -} -namespace lldb_private { class CompileUnit; -} -namespace lldb_private { class Status; -} -namespace lldb_private { class Function; -} -namespace lldb_private { class ModuleList; -} -namespace lldb_private { class SearchFilter; -} -namespace lldb_private { class Stream; -} -namespace lldb_private { class SymbolContext; -} -namespace lldb_private { class Target; } diff --git a/lldb/include/lldb/Core/Section.h b/lldb/include/lldb/Core/Section.h index 77a5d54ed59..542849b8042 100644 --- a/lldb/include/lldb/Core/Section.h +++ b/lldb/include/lldb/Core/Section.h @@ -26,24 +26,11 @@ namespace lldb_private { class Address; -} -namespace lldb_private { class DataExtractor; -} -namespace lldb_private { class ObjectFile; -} -namespace lldb_private { class Section; -} -namespace lldb_private { class Stream; -} -namespace lldb_private { class Target; -} - -namespace lldb_private { class SectionList { public: diff --git a/lldb/include/lldb/Core/SourceManager.h b/lldb/include/lldb/Core/SourceManager.h index ed5bf2ea980..bca817750d8 100644 --- a/lldb/include/lldb/Core/SourceManager.h +++ b/lldb/include/lldb/Core/SourceManager.h @@ -24,18 +24,9 @@ namespace lldb_private { class RegularExpression; -} -namespace lldb_private { class Stream; -} -namespace lldb_private { class SymbolContextList; -} -namespace lldb_private { class Target; -} - -namespace lldb_private { class SourceManager { public: diff --git a/lldb/include/lldb/Core/StreamAsynchronousIO.h b/lldb/include/lldb/Core/StreamAsynchronousIO.h index 1a9ecba20a9..6237e12b7d1 100644 --- a/lldb/include/lldb/Core/StreamAsynchronousIO.h +++ b/lldb/include/lldb/Core/StreamAsynchronousIO.h @@ -17,9 +17,6 @@ namespace lldb_private { class Debugger; -} - -namespace lldb_private { class StreamAsynchronousIO : public Stream { public: diff --git a/lldb/include/lldb/Core/UserSettingsController.h b/lldb/include/lldb/Core/UserSettingsController.h index 31ee9cc480d..6ae3bdec166 100644 --- a/lldb/include/lldb/Core/UserSettingsController.h +++ b/lldb/include/lldb/Core/UserSettingsController.h @@ -22,17 +22,9 @@ namespace lldb_private { class CommandInterpreter; -} -namespace lldb_private { class ConstString; -} -namespace lldb_private { class ExecutionContext; -} -namespace lldb_private { class Property; -} -namespace lldb_private { class Stream; } diff --git a/lldb/include/lldb/Core/Value.h b/lldb/include/lldb/Core/Value.h index 3f5efbfd106..b786e4866f6 100644 --- a/lldb/include/lldb/Core/Value.h +++ b/lldb/include/lldb/Core/Value.h @@ -26,20 +26,10 @@ namespace lldb_private { class DataExtractor; -} -namespace lldb_private { class ExecutionContext; -} -namespace lldb_private { class Module; -} -namespace lldb_private { class Stream; -} -namespace lldb_private { class Type; -} -namespace lldb_private { class Variable; } diff --git a/lldb/include/lldb/Core/ValueObject.h b/lldb/include/lldb/Core/ValueObject.h index c27a128c5ac..0808b86c67a 100644 --- a/lldb/include/lldb/Core/ValueObject.h +++ b/lldb/include/lldb/Core/ValueObject.h @@ -39,40 +39,19 @@ #include <stddef.h> #include <stdint.h> + namespace lldb_private { class Declaration; -} -namespace lldb_private { class DumpValueObjectOptions; -} -namespace lldb_private { class EvaluateExpressionOptions; -} -namespace lldb_private { class ExecutionContextScope; -} -namespace lldb_private { class Log; -} -namespace lldb_private { class Scalar; -} -namespace lldb_private { class Stream; -} -namespace lldb_private { class SymbolContextScope; -} -namespace lldb_private { class TypeFormatImpl; -} -namespace lldb_private { class TypeSummaryImpl; -} -namespace lldb_private { class TypeSummaryOptions; -} -namespace lldb_private { /// ValueObject: /// diff --git a/lldb/include/lldb/Core/ValueObjectCast.h b/lldb/include/lldb/Core/ValueObjectCast.h index 4c591c47f1e..feee493dfaf 100644 --- a/lldb/include/lldb/Core/ValueObjectCast.h +++ b/lldb/include/lldb/Core/ValueObjectCast.h @@ -20,9 +20,6 @@ namespace lldb_private { class ConstString; -} - -namespace lldb_private { // A ValueObject that represents a given value represented as a different type. class ValueObjectCast : public ValueObject { diff --git a/lldb/include/lldb/Core/ValueObjectConstResult.h b/lldb/include/lldb/Core/ValueObjectConstResult.h index b87e6e293e6..3bc957ef2b8 100644 --- a/lldb/include/lldb/Core/ValueObjectConstResult.h +++ b/lldb/include/lldb/Core/ValueObjectConstResult.h @@ -26,14 +26,8 @@ namespace lldb_private { class DataExtractor; -} -namespace lldb_private { class ExecutionContextScope; -} -namespace lldb_private { class Module; -} -namespace lldb_private { // A frozen ValueObject copied into host memory class ValueObjectConstResult : public ValueObject { diff --git a/lldb/include/lldb/Core/ValueObjectConstResultCast.h b/lldb/include/lldb/Core/ValueObjectConstResultCast.h index 18eeb5d5a8d..be9b12b4b57 100644 --- a/lldb/include/lldb/Core/ValueObjectConstResultCast.h +++ b/lldb/include/lldb/Core/ValueObjectConstResultCast.h @@ -22,15 +22,8 @@ namespace lldb_private { class DataExtractor; -} -namespace lldb_private { class Status; -} -namespace lldb_private { class ValueObject; -} - -namespace lldb_private { class ValueObjectConstResultCast : public ValueObjectCast { public: diff --git a/lldb/include/lldb/Core/ValueObjectConstResultChild.h b/lldb/include/lldb/Core/ValueObjectConstResultChild.h index 73da87b84f7..16fa74f71ed 100644 --- a/lldb/include/lldb/Core/ValueObjectConstResultChild.h +++ b/lldb/include/lldb/Core/ValueObjectConstResultChild.h @@ -19,17 +19,11 @@ #include <stddef.h> #include <stdint.h> + namespace lldb_private { class DataExtractor; -} -namespace lldb_private { class Status; -} -namespace lldb_private { class ValueObject; -} - -namespace lldb_private { // A child of a ValueObjectConstResult. class ValueObjectConstResultChild : public ValueObjectChild { diff --git a/lldb/include/lldb/Core/ValueObjectConstResultImpl.h b/lldb/include/lldb/Core/ValueObjectConstResultImpl.h index 4d6940287a9..ffac98e12e6 100644 --- a/lldb/include/lldb/Core/ValueObjectConstResultImpl.h +++ b/lldb/include/lldb/Core/ValueObjectConstResultImpl.h @@ -19,14 +19,8 @@ #include <stdint.h> namespace lldb_private { class CompilerType; -} -namespace lldb_private { class DataExtractor; -} -namespace lldb_private { class Status; -} -namespace lldb_private { class ValueObject; } diff --git a/lldb/include/lldb/Core/ValueObjectDynamicValue.h b/lldb/include/lldb/Core/ValueObjectDynamicValue.h index 8f231989fa2..f656d42e9a9 100644 --- a/lldb/include/lldb/Core/ValueObjectDynamicValue.h +++ b/lldb/include/lldb/Core/ValueObjectDynamicValue.h @@ -26,14 +26,8 @@ namespace lldb_private { class DataExtractor; -} -namespace lldb_private { class Declaration; -} -namespace lldb_private { class Status; -} -namespace lldb_private { // A ValueObject that represents memory at a given address, viewed as some // set lldb type. diff --git a/lldb/include/lldb/Core/ValueObjectList.h b/lldb/include/lldb/Core/ValueObjectList.h index 29857e5b687..809c182c9cc 100644 --- a/lldb/include/lldb/Core/ValueObjectList.h +++ b/lldb/include/lldb/Core/ValueObjectList.h @@ -18,9 +18,6 @@ namespace lldb_private { class ValueObject; -} - -namespace lldb_private { // A collection of ValueObject values that class ValueObjectList { diff --git a/lldb/include/lldb/Core/ValueObjectMemory.h b/lldb/include/lldb/Core/ValueObjectMemory.h index f0374eb492b..df3557f1498 100644 --- a/lldb/include/lldb/Core/ValueObjectMemory.h +++ b/lldb/include/lldb/Core/ValueObjectMemory.h @@ -23,9 +23,6 @@ namespace lldb_private { class ExecutionContextScope; -} - -namespace lldb_private { // A ValueObject that represents memory at a given address, viewed as some // set lldb type. diff --git a/lldb/include/lldb/Core/ValueObjectRegister.h b/lldb/include/lldb/Core/ValueObjectRegister.h index 54921248468..e584be6e605 100644 --- a/lldb/include/lldb/Core/ValueObjectRegister.h +++ b/lldb/include/lldb/Core/ValueObjectRegister.h @@ -23,21 +23,10 @@ namespace lldb_private { class DataExtractor; -} -namespace lldb_private { class Status; -} -namespace lldb_private { class ExecutionContextScope; -} -namespace lldb_private { class Scalar; -} -namespace lldb_private { class Stream; -} - -namespace lldb_private { // A ValueObject that contains a root variable that may or may not // have children. diff --git a/lldb/include/lldb/Core/ValueObjectSyntheticFilter.h b/lldb/include/lldb/Core/ValueObjectSyntheticFilter.h index 15b3622678c..3b14a3e9f38 100644 --- a/lldb/include/lldb/Core/ValueObjectSyntheticFilter.h +++ b/lldb/include/lldb/Core/ValueObjectSyntheticFilter.h @@ -26,14 +26,8 @@ namespace lldb_private { class Declaration; -} -namespace lldb_private { class Status; -} -namespace lldb_private { class SyntheticChildrenFrontEnd; -} -namespace lldb_private { // A ValueObject that obtains its children from some source other than // real information diff --git a/lldb/include/lldb/Core/ValueObjectVariable.h b/lldb/include/lldb/Core/ValueObjectVariable.h index 75fe617df03..86bb8ef9007 100644 --- a/lldb/include/lldb/Core/ValueObjectVariable.h +++ b/lldb/include/lldb/Core/ValueObjectVariable.h @@ -23,21 +23,10 @@ namespace lldb_private { class DataExtractor; -} -namespace lldb_private { class Declaration; -} -namespace lldb_private { class Status; -} -namespace lldb_private { class ExecutionContextScope; -} -namespace lldb_private { class SymbolContextScope; -} - -namespace lldb_private { // A ValueObject that contains a root variable that may or may not // have children. diff --git a/lldb/include/lldb/Target/DynamicLoader.h b/lldb/include/lldb/Target/DynamicLoader.h index c3f8fa536df..2bf3f32b5ee 100644 --- a/lldb/include/lldb/Target/DynamicLoader.h +++ b/lldb/include/lldb/Target/DynamicLoader.h @@ -22,23 +22,11 @@ #include <stdint.h> namespace lldb_private { class ModuleList; -} -namespace lldb_private { class Process; -} -namespace lldb_private { class SectionList; -} -namespace lldb_private { class Symbol; -} -namespace lldb_private { class SymbolContext; -} -namespace lldb_private { class SymbolContextList; -} -namespace lldb_private { class Thread; } diff --git a/lldb/include/lldb/Utility/Broadcaster.h b/lldb/include/lldb/Utility/Broadcaster.h index c278ccd0976..2667f251aab 100644 --- a/lldb/include/lldb/Utility/Broadcaster.h +++ b/lldb/include/lldb/Utility/Broadcaster.h @@ -26,14 +26,8 @@ namespace lldb_private { class Broadcaster; -} -namespace lldb_private { class EventData; -} -namespace lldb_private { class Listener; -} -namespace lldb_private { class Stream; } diff --git a/lldb/include/lldb/Utility/Connection.h b/lldb/include/lldb/Utility/Connection.h index a525d7f0653..77f3ef4a76b 100644 --- a/lldb/include/lldb/Utility/Connection.h +++ b/lldb/include/lldb/Utility/Connection.h @@ -22,8 +22,6 @@ namespace lldb_private { class Status; -} -namespace lldb_private { template <typename Ratio> class Timeout; } diff --git a/lldb/include/lldb/Utility/DataExtractor.h b/lldb/include/lldb/Utility/DataExtractor.h index 52c93b1ed48..74174b34ce9 100644 --- a/lldb/include/lldb/Utility/DataExtractor.h +++ b/lldb/include/lldb/Utility/DataExtractor.h @@ -21,8 +21,6 @@ namespace lldb_private { class Log; -} -namespace lldb_private { class Stream; } namespace llvm { diff --git a/lldb/include/lldb/Utility/Event.h b/lldb/include/lldb/Utility/Event.h index 3743c647379..dd5d08024ce 100644 --- a/lldb/include/lldb/Utility/Event.h +++ b/lldb/include/lldb/Utility/Event.h @@ -27,8 +27,6 @@ namespace lldb_private { class Event; -} -namespace lldb_private { class Stream; } diff --git a/lldb/include/lldb/Utility/JSON.h b/lldb/include/lldb/Utility/JSON.h index add7da9146a..172f77afb01 100644 --- a/lldb/include/lldb/Utility/JSON.h +++ b/lldb/include/lldb/Utility/JSON.h @@ -21,8 +21,6 @@ namespace lldb_private { class Stream; -} -namespace lldb_private { class JSONValue { public: diff --git a/lldb/include/lldb/Utility/Listener.h b/lldb/include/lldb/Utility/Listener.h index 21fb0b307f4..8a8e2755272 100644 --- a/lldb/include/lldb/Utility/Listener.h +++ b/lldb/include/lldb/Utility/Listener.h @@ -28,8 +28,6 @@ namespace lldb_private { class ConstString; -} -namespace lldb_private { class Event; } diff --git a/lldb/include/lldb/Utility/StringList.h b/lldb/include/lldb/Utility/StringList.h index e1aa9a6d021..68c1f87510f 100644 --- a/lldb/include/lldb/Utility/StringList.h +++ b/lldb/include/lldb/Utility/StringList.h @@ -17,8 +17,6 @@ namespace lldb_private { class Log; -} -namespace lldb_private { class Stream; } diff --git a/lldb/include/lldb/Utility/StructuredData.h b/lldb/include/lldb/Utility/StructuredData.h index 7e8569c7b47..75eb2f7b729 100644 --- a/lldb/include/lldb/Utility/StructuredData.h +++ b/lldb/include/lldb/Utility/StructuredData.h @@ -28,8 +28,6 @@ namespace lldb_private { class Status; -} -namespace lldb_private { class Stream; } diff --git a/lldb/include/lldb/Utility/UserID.h b/lldb/include/lldb/Utility/UserID.h index 802f7acd8a9..2dc5cdb23d0 100644 --- a/lldb/include/lldb/Utility/UserID.h +++ b/lldb/include/lldb/Utility/UserID.h @@ -11,11 +11,9 @@ #include "lldb/lldb-defines.h" #include "lldb/lldb-types.h" -namespace lldb_private { -class Stream; -} namespace lldb_private { +class Stream; /// \class UserID UserID.h "lldb/Core/UserID.h" /// A mix in class that contains a generic user ID. |