llvm-project/lldb/source/Core
Greg Clayton 99558cc424 Final bit of type system cleanup that abstracts declaration contexts into lldb_private::CompilerDeclContext and renames ClangType to CompilerType in many accessors and functions.
Create a new "lldb_private::CompilerDeclContext" class that will replace all direct uses of "clang::DeclContext" when used in compiler agnostic code, yet still allow for conversion to clang::DeclContext subclasses by clang specific code. This completes the abstraction of type parsing by removing all "clang::" references from the SymbolFileDWARF. The new "lldb_private::CompilerDeclContext" class abstracts decl contexts found in compiler type systems so they can be used in internal API calls. The TypeSystem is required to support CompilerDeclContexts with new pure virtual functions that start with "DeclContext" in the member function names. Converted all code that used lldb_private::ClangNamespaceDecl over to use the new CompilerDeclContext class and removed the ClangNamespaceDecl.cpp and ClangNamespaceDecl.h files.

Removed direct use of clang APIs from SBType and now use the abstract type systems to correctly explore types.

Bulk renames for things that used to return a ClangASTType which is now CompilerType:

    "Type::GetClangFullType()" to "Type::GetFullCompilerType()"
    "Type::GetClangLayoutType()" to "Type::GetLayoutCompilerType()"
    "Type::GetClangForwardType()" to "Type::GetForwardCompilerType()"
    "Value::GetClangType()" to "Value::GetCompilerType()"
    "Value::SetClangType (const CompilerType &)" to "Value::SetCompilerType (const CompilerType &)"
    "ValueObject::GetClangType ()" to "ValueObject::GetCompilerType()"
    many more renames that are similar.

llvm-svn: 245905
2015-08-24 23:46:31 +00:00
..
Address.cpp Resubmitting 240466 after fixing the linux test suite failures. 2015-06-25 21:46:34 +00:00
AddressRange.cpp Audit uses of ConstString::AsCString() to make sure they weren't assuming 2014-12-19 19:20:44 +00:00
AddressResolver.cpp Move lldb-log.cpp to core/Logging.cpp 2015-03-18 18:20:42 +00:00
AddressResolverFileLine.cpp Move lldb-log.cpp to core/Logging.cpp 2015-03-18 18:20:42 +00:00
AddressResolverName.cpp Final bit of type system cleanup that abstracts declaration contexts into lldb_private::CompilerDeclContext and renames ClangType to CompilerType in many accessors and functions. 2015-08-24 23:46:31 +00:00
ArchSpec.cpp Fix compiler warning in ArchSpec 2015-07-16 13:11:34 +00:00
Baton.cpp
Broadcaster.cpp Move lldb-log.cpp to core/Logging.cpp 2015-03-18 18:20:42 +00:00
CMakeLists.txt Add a class ValueObjectConstResultCast. 2015-07-16 01:47:12 +00:00
Communication.cpp Stop read thread of Communication on EOF 2015-04-20 09:52:47 +00:00
Connection.cpp Create a ConnectionGenericFile class for Windows. 2014-10-06 21:23:09 +00:00
ConnectionMachPort.cpp I make no claims that Mach ports work, but at least we should check the right thing 2015-06-03 22:35:55 +00:00
ConnectionSharedMemory.cpp Move lldb-log.cpp to core/Logging.cpp 2015-03-18 18:20:42 +00:00
ConstString.cpp Fixed bugs in the multi-threaded access in HostInfoBase. Prior to this fix, static bool variables were used but this is not sufficient. We now use std::call_once in all places where the previous static bool code was used to try to implement thread safety. 2015-02-03 02:05:44 +00:00
CxaDemangle.cpp Resubmitting r238459 and r238460 with fix for Linux. 2015-05-28 21:19:31 +00:00
DataBufferHeap.cpp Fixed a ton of gcc compile warnings 2015-05-13 00:25:54 +00:00
DataBufferMemoryMap.cpp Fix a variety of typos. 2015-06-18 05:27:05 +00:00
DataEncoder.cpp Fixed a ton of gcc compile warnings 2015-05-13 00:25:54 +00:00
DataExtractor.cpp Remove hack about the size of long doubles from DataExtractor 2015-07-13 10:50:55 +00:00
Debugger.cpp First part of an attempt to indicate to the user when they are 2015-07-29 00:42:47 +00:00
Disassembler.cpp Final bit of type system cleanup that abstracts declaration contexts into lldb_private::CompilerDeclContext and renames ClangType to CompilerType in many accessors and functions. 2015-08-24 23:46:31 +00:00
DynamicLoader.cpp Add absolute load address support for the DynamicLoader plugins 2015-08-24 10:21:55 +00:00
EmulateInstruction.cpp A messy bit of cleanup: Move towards more descriptive names 2015-08-15 01:21:01 +00:00
Error.cpp Remove unneeded include. 2015-04-14 21:34:51 +00:00
Event.cpp sweep up -Wformat warnings from gcc 2014-04-04 04:06:10 +00:00
FastDemangle.cpp Fix typos. 2015-07-22 00:16:02 +00:00
FileLineResolver.cpp Move lldb-log.cpp to core/Logging.cpp 2015-03-18 18:20:42 +00:00
FileSpecList.cpp For some reason, sometimes the directory paths that clang emits have internal 2014-11-15 01:54:26 +00:00
FormatEntity.cpp Final bit of type system cleanup that abstracts declaration contexts into lldb_private::CompilerDeclContext and renames ClangType to CompilerType in many accessors and functions. 2015-08-24 23:46:31 +00:00
History.cpp Resolve printf formatting warnings on Linux: 2012-11-29 21:49:15 +00:00
IOHandler.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
Language.cpp Fix enum LanguageType values and language string table lookups. 2015-06-17 22:30:24 +00:00
Listener.cpp Move lldb-log.cpp to core/Logging.cpp 2015-03-18 18:20:42 +00:00
Log.cpp [LLGS] Avoid misrepresenting log lines as inferior output 2015-08-18 08:23:35 +00:00
Logging.cpp Add a language log category. 2015-05-27 12:48:14 +00:00
Makefile Remove lldb's custom copy of the C++ demangler, used only on Mac 2013-07-03 04:52:51 +00:00
Mangled.cpp Improve C++ function name handling and step-in avoid regerxp handling 2015-07-24 08:54:22 +00:00
Module.cpp Final bit of type system cleanup that abstracts declaration contexts into lldb_private::CompilerDeclContext and renames ClangType to CompilerType in many accessors and functions. 2015-08-24 23:46:31 +00:00
ModuleChild.cpp
ModuleList.cpp Final bit of type system cleanup that abstracts declaration contexts into lldb_private::CompilerDeclContext and renames ClangType to CompilerType in many accessors and functions. 2015-08-24 23:46:31 +00:00
Opcode.cpp sanitise sign comparisons 2014-04-02 03:51:35 +00:00
PluginManager.cpp Convert the ScriptInterpreter system to a plugin-based one. 2015-07-30 20:28:07 +00:00
RegisterValue.cpp [LLDB] Use llvm::APInt and llvm::APFloat in Scalar and RegisterValue 2015-08-20 09:12:46 +00:00
RegularExpression.cpp Fix warnings detected by -Wpessimizing-move 2015-07-28 09:18:32 +00:00
Scalar.cpp [LLDB] Use llvm::APInt and llvm::APFloat in Scalar and RegisterValue 2015-08-20 09:12:46 +00:00
SearchFilter.cpp Work around lack of %zd printf format specifier in MSVC libs. 2015-03-30 17:46:36 +00:00
Section.cpp Move some functions from source/lldb.cpp to Utility. 2015-03-18 21:31:45 +00:00
SourceManager.cpp Final bit of type system cleanup that abstracts declaration contexts into lldb_private::CompilerDeclContext and renames ClangType to CompilerType in many accessors and functions. 2015-08-24 23:46:31 +00:00
State.cpp More Linux warnings fixes (remove default labels as needed): 2012-12-07 20:51:09 +00:00
Stream.cpp Make stream::operator<< take "const" void * 2015-07-22 07:58:17 +00:00
StreamAsynchronousIO.cpp Fix warnings detected by -Wpessimizing-move 2015-07-28 09:18:32 +00:00
StreamCallback.cpp <rdar://problem/13069948> 2013-01-25 18:06:21 +00:00
StreamFile.cpp Support for truncate/append on log files 2015-03-20 09:43:20 +00:00
StreamGDBRemote.cpp merge lldb-platform-work branch (and assorted fixes) into trunk 2013-08-26 23:57:52 +00:00
StreamString.cpp Add a new disassembly-format specification so that the disassembler 2014-10-10 23:07:36 +00:00
StringList.cpp Implement PlatformWindows::GetEnvironment. 2015-05-22 19:34:17 +00:00
StructuredData.cpp Make the "lldb/Utility/JSON.h" able to parse JSON into tokens with the new JSONParser class. 2015-07-06 23:40:40 +00:00
Timer.cpp MingW compilation (windows). Includes various refactoring to improve portability. 2013-08-23 12:44:05 +00:00
UUID.cpp Add Utility/ModuleCache class and integrate it with PlatformGDBRemoteServer - in order to allow modules caching from remote targets. 2015-03-10 01:15:28 +00:00
UserID.cpp Implemented a types.py module that allows types to be inspected for padding. 2013-06-19 21:50:28 +00:00
UserSettingsController.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
VMRange.cpp <rdar://problem/13069948> 2013-01-25 18:06:21 +00:00
Value.cpp Final bit of type system cleanup that abstracts declaration contexts into lldb_private::CompilerDeclContext and renames ClangType to CompilerType in many accessors and functions. 2015-08-24 23:46:31 +00:00
ValueObject.cpp Final bit of type system cleanup that abstracts declaration contexts into lldb_private::CompilerDeclContext and renames ClangType to CompilerType in many accessors and functions. 2015-08-24 23:46:31 +00:00
ValueObjectCast.cpp Final bit of type system cleanup that abstracts declaration contexts into lldb_private::CompilerDeclContext and renames ClangType to CompilerType in many accessors and functions. 2015-08-24 23:46:31 +00:00
ValueObjectChild.cpp Final bit of type system cleanup that abstracts declaration contexts into lldb_private::CompilerDeclContext and renames ClangType to CompilerType in many accessors and functions. 2015-08-24 23:46:31 +00:00
ValueObjectConstResult.cpp Final bit of type system cleanup that abstracts declaration contexts into lldb_private::CompilerDeclContext and renames ClangType to CompilerType in many accessors and functions. 2015-08-24 23:46:31 +00:00
ValueObjectConstResultCast.cpp ClangASTType is now CompilerType. 2015-08-11 22:53:00 +00:00
ValueObjectConstResultChild.cpp ClangASTType is now CompilerType. 2015-08-11 22:53:00 +00:00
ValueObjectConstResultImpl.cpp Final bit of type system cleanup that abstracts declaration contexts into lldb_private::CompilerDeclContext and renames ClangType to CompilerType in many accessors and functions. 2015-08-24 23:46:31 +00:00
ValueObjectDynamicValue.cpp Final bit of type system cleanup that abstracts declaration contexts into lldb_private::CompilerDeclContext and renames ClangType to CompilerType in many accessors and functions. 2015-08-24 23:46:31 +00:00
ValueObjectList.cpp <rdar://problem/13069948> 2013-01-25 18:06:21 +00:00
ValueObjectMemory.cpp Final bit of type system cleanup that abstracts declaration contexts into lldb_private::CompilerDeclContext and renames ClangType to CompilerType in many accessors and functions. 2015-08-24 23:46:31 +00:00
ValueObjectRegister.cpp Final bit of type system cleanup that abstracts declaration contexts into lldb_private::CompilerDeclContext and renames ClangType to CompilerType in many accessors and functions. 2015-08-24 23:46:31 +00:00
ValueObjectSyntheticFilter.cpp Final bit of type system cleanup that abstracts declaration contexts into lldb_private::CompilerDeclContext and renames ClangType to CompilerType in many accessors and functions. 2015-08-24 23:46:31 +00:00
ValueObjectVariable.cpp Final bit of type system cleanup that abstracts declaration contexts into lldb_private::CompilerDeclContext and renames ClangType to CompilerType in many accessors and functions. 2015-08-24 23:46:31 +00:00