[llvm] 9e28b89 - [DebugInfo] Delete deleted getLine/getColumn

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 4 21:49:26 PST 2021


Author: Fangrui Song
Date: 2021-03-04T21:49:21-08:00
New Revision: 9e28b89827a3be4ab602b40c263839665af06b4a

URL: https://github.com/llvm/llvm-project/commit/9e28b89827a3be4ab602b40c263839665af06b4a
DIFF: https://github.com/llvm/llvm-project/commit/9e28b89827a3be4ab602b40c263839665af06b4a.diff

LOG: [DebugInfo] Delete deleted getLine/getColumn

r250405 deleted the functions from DILexicalBlockBase.

Added: 
    

Modified: 
    llvm/include/llvm/IR/DebugInfoMetadata.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/IR/DebugInfoMetadata.h b/llvm/include/llvm/IR/DebugInfoMetadata.h
index 75b104241221..99f2c836045f 100644
--- a/llvm/include/llvm/IR/DebugInfoMetadata.h
+++ b/llvm/include/llvm/IR/DebugInfoMetadata.h
@@ -2176,11 +2176,6 @@ class DILexicalBlockFile : public DILexicalBlockBase {
                     (Scope, File, Discriminator))
 
   TempDILexicalBlockFile clone() const { return cloneImpl(); }
-
-  // TODO: Remove these once they're gone from DILexicalBlockBase.
-  unsigned getLine() const = delete;
-  unsigned getColumn() const = delete;
-
   unsigned getDiscriminator() const { return Discriminator; }
 
   static bool classof(const Metadata *MD) {


        


More information about the llvm-commits mailing list