[llvm] r225335 - IR: Remove MDNode::getWhenValsUnresolved()

Duncan P. N. Exon Smith dexonsmith at apple.com
Tue Jan 6 18:10:42 PST 2015


Author: dexonsmith
Date: Tue Jan  6 20:10:42 2015
New Revision: 225335

URL: http://llvm.org/viewvc/llvm-project?rev=225335&view=rev
Log:
IR: Remove MDNode::getWhenValsUnresolved()

Remove dead code.  Use `MDNode::get()` instead.

Modified:
    llvm/trunk/include/llvm/IR/Metadata.h

Modified: llvm/trunk/include/llvm/IR/Metadata.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Metadata.h?rev=225335&r1=225334&r2=225335&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Metadata.h (original)
+++ llvm/trunk/include/llvm/IR/Metadata.h Tue Jan  6 20:10:42 2015
@@ -616,11 +616,6 @@ public:
   static MDNode *get(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
     return getMDNode(Context, MDs, true);
   }
-  static MDNode *getWhenValsUnresolved(LLVMContext &Context,
-                                       ArrayRef<Metadata *> MDs) {
-    // TODO: Remove this.
-    return get(Context, MDs);
-  }
 
   static MDNode *getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
     return getMDNode(Context, MDs, false);





More information about the llvm-commits mailing list