forked from OSchip/llvm-project
Revert "Fix a compiler error under MSVC"
This reverts the bandaid commit in r234308 now that I have a proper fix in LLVM as of r234326. llvm-svn: 234339
This commit is contained in:
parent
c64bb49628
commit
373285892b
|
@ -1044,7 +1044,7 @@ llvm::DICompositeType CGDebugInfo::getOrCreateInstanceMethodType(
|
|||
SmallVector<llvm::Metadata *, 16> Elts;
|
||||
|
||||
// First element is always return type. For 'void' functions it is NULL.
|
||||
Elts.push_back(Args[0u]);
|
||||
Elts.push_back(Args[0]);
|
||||
|
||||
// "this" pointer is always first argument.
|
||||
const CXXRecordDecl *RD = ThisPtr->getPointeeCXXRecordDecl();
|
||||
|
|
Loading…
Reference in New Issue