r234339 - Revert "Fix a compiler error under MSVC"
Duncan P. N. Exon Smith
dexonsmith at apple.com
Tue Apr 7 11:41:26 PDT 2015
Author: dexonsmith
Date: Tue Apr 7 13:41:26 2015
New Revision: 234339
URL: http://llvm.org/viewvc/llvm-project?rev=234339&view=rev
Log:
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.
Modified:
cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=234339&r1=234338&r2=234339&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Tue Apr 7 13:41:26 2015
@@ -1044,7 +1044,7 @@ llvm::DICompositeType CGDebugInfo::getOr
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();
More information about the cfe-commits
mailing list