llvm-project/lldb/tools/lldb-test
Raphael Isemann f9f49d3594 [lldb][NFC] Return a reference from ClangASTContext::getASTContext and remove dead nullptr checks
ClangASTContext::getASTContext() currently returns a ptr but we have an assert there since a
while that the ASTContext is not a nullptr. This causes that we still have a lot of code
that is doing nullptr checks on the result of getASTContext() which is all unreachable code.

This patch changes the return value to a reference to make it clear this can't be a nullptr
and deletes all the nullptr checks.
2019-12-21 22:51:35 +01:00
..
CMakeLists.txt SystemInitializer: Use Targets.def to selectively initialize ABI plugins 2019-09-26 09:47:32 +00:00
FormatUtil.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FormatUtil.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SystemInitializerTest.cpp SystemInitializer: Define macros for experimental targets too 2019-09-26 17:15:18 +00:00
SystemInitializerTest.h [NFC] Remove ASCII lines from comments 2019-04-10 20:48:55 +00:00
lldb-test.cpp [lldb][NFC] Return a reference from ClangASTContext::getASTContext and remove dead nullptr checks 2019-12-21 22:51:35 +01:00