From: Duncan P. N. Exon Smith Date: Tue, 7 Apr 2015 18:41:26 +0000 (+0000) Subject: Revert "Fix a compiler error under MSVC" X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=998dc53a388cdf88f87cd9df41af49946f7ed09d;p=clang 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@234339 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index 405a4917ba..d22744b04a 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -1044,7 +1044,7 @@ llvm::DICompositeType CGDebugInfo::getOrCreateInstanceMethodType( SmallVector 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();