[weak vtables] Remove a bunch of weak vtables
[oota-llvm.git] / lib / Support / YAMLTraits.cpp
index f103ed8bcbe073ae87d37ac824175b2eecb1beda..c20ce888ad3fcb364c5faf4f0110ac3310f83b6a 100644 (file)
@@ -59,6 +59,13 @@ void Input::setDiagHandler(SourceMgr::DiagHandlerTy Handler, void *Ctxt) {
   SrcMgr.setDiagHandler(Handler, Ctxt);
 }
 
+/// pin the vtables to this file
+void Input::HNode::anchor() {}
+void Input::EmptyHNode::anchor() {}
+void Input::ScalarHNode::anchor() {}
+void Input::MapHNode::anchor() {}
+void Input::SequenceHNode::anchor() {}
+
 bool Input::outputting() const {
   return false;
 }