]> granicus.if.org Git - clang/commitdiff
Update for LLVM API change to remove discriminator tracking from DILexicalBlock ...
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 21 Aug 2014 22:46:45 +0000 (22:46 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 21 Aug 2014 22:46:45 +0000 (22:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@216240 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGDebugInfo.cpp

index d621755fba624d1b366bd4711dee8c2e1cfd7828..0b20f541b689a118d90c3b3aedafbd073a728a06 100644 (file)
@@ -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);
 }