diff options
author | Teresa Johnson <tejohnson@google.com> | 2018-11-14 21:57:51 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2018-11-14 21:57:51 +0000 |
commit | f3d2453d4dbea4cd8daf74bfe867fa9a09336e8c (patch) | |
tree | ad0d3a0eb7ced14f85e7b3d629fdb01d3e44f49f /llvm/lib/Bitcode/Reader/MetadataLoader.h | |
parent | 9d9353aef5fc3cdd02255e444791eb15559ed6d5 (diff) | |
download | bcm5719-llvm-f3d2453d4dbea4cd8daf74bfe867fa9a09336e8c.tar.gz bcm5719-llvm-f3d2453d4dbea4cd8daf74bfe867fa9a09336e8c.zip |
Remove unused getMDNodeFwdRefOrNull interfaces (NFC)
Summary:
Followup from D53596/r346891. Remove the getMDNodeFwdRefOrNull interface
to the MDLoader since it is no longer used. Also improve error messages
when the internal implementation is used within the MDLoader.
Reviewers: steven_wu
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D54542
llvm-svn: 346899
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.h')
-rw-r--r-- | llvm/lib/Bitcode/Reader/MetadataLoader.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Bitcode/Reader/MetadataLoader.h b/llvm/lib/Bitcode/Reader/MetadataLoader.h index 752eb35ebb4..07a77a086f3 100644 --- a/llvm/lib/Bitcode/Reader/MetadataLoader.h +++ b/llvm/lib/Bitcode/Reader/MetadataLoader.h @@ -65,8 +65,6 @@ public: /// necessary. Metadata *getMetadataFwdRefOrLoad(unsigned Idx); - MDNode *getMDNodeFwdRefOrNull(unsigned Idx); - /// Return the DISubprogram metadata for a Function if any, null otherwise. DISubprogram *lookupSubprogramForFunction(Function *F); |