From: David Blaikie Date: Thu, 21 Aug 2014 22:46:45 +0000 (+0000) Subject: Update for LLVM API change to remove discriminator tracking from DILexicalBlock ... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=71f992a695addf7cfbcbb61189dbd5b37e7e44e3;p=clang Update for LLVM API change to remove discriminator tracking from DILexicalBlock (in favor of DILexicalBlockFile - where a default arg is used to avoid the need for API churn of those callers) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@216240 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index d621755fba..0b20f541b6 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -2596,8 +2596,7 @@ void CGDebugInfo::CreateLexicalBlock(SourceLocation Loc) { llvm::DIDescriptor D = DBuilder.createLexicalBlock( llvm::DIDescriptor(LexicalBlockStack.empty() ? nullptr : LexicalBlockStack.back()), - getOrCreateFile(CurLoc), getLineNumber(CurLoc), getColumnNumber(CurLoc), - 0); + getOrCreateFile(CurLoc), getLineNumber(CurLoc), getColumnNumber(CurLoc)); llvm::MDNode *DN = D; LexicalBlockStack.push_back(DN); }