Move BB succ_iterator to be inside TerminatorInst. NFC.
[oota-llvm.git] / include / llvm / IR / AutoUpgrade.h
index 076ed4acff0a7bb22a5b5d2a4fcb95b67a9dbe08..a4b3c410c4f652ee8848829133a1c3653051ffc5 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef LLVM_IR_AUTOUPGRADE_H
 #define LLVM_IR_AUTOUPGRADE_H
 
+#include <string>
+
 namespace llvm {
   class CallInst;
   class Constant;
@@ -61,6 +63,9 @@ namespace llvm {
   /// Check the debug info version number, if it is out-dated, drop the debug
   /// info. Return true if module is modified.
   bool UpgradeDebugInfo(Module &M);
+
+  /// Upgrade a metadata string constant in place.
+  void UpgradeMDStringConstant(std::string &String);
 } // End llvm namespace
 
 #endif