forked from OSchip/llvm-project
![]() Mixing LLVM and Clang address spaces can result in subtle bugs, and there is no need for this hook to use the LLVM IR level address spaces. Most of this change is just replacing zero with LangAS::Default, but it also allows us to remove a few calls to getTargetAddressSpace(). This also removes a stale comment+workaround in CGDebugInfo::CreatePointerLikeType(): ASTContext::getTypeSize() does return the expected size for ReferenceType (and handles address spaces). Differential Revision: https://reviews.llvm.org/D138295 |
||
---|---|---|
.. | ||
BufferSourceTest.cpp | ||
CMakeLists.txt | ||
CheckTargetFeaturesTest.cpp | ||
CodeGenExternalTest.cpp | ||
IRMatchers.h | ||
TBAAMetadataTest.cpp | ||
TestCompiler.h |