MC CFG: Keep pointer to parent MCModule in created MCFunctions.
[oota-llvm.git] / include / llvm / MC / MCModule.h
index 02f8ca05b414068f15b64ddce6b538b1ed5f7097..6d493628b7c421c1961a31db684f9135f2a90762 100644 (file)
@@ -23,6 +23,7 @@
 namespace llvm {
 
 class MCAtom;
+class MCBasicBlock;
 class MCDataAtom;
 class MCFunction;
 class MCObjectDisassembler;
@@ -88,8 +89,8 @@ public:
         atom_iterator atom_end()         { return Atoms.end(); }
   /// @}
 
-  /// \name Create a new MCFunction.
-  MCFunction *createFunction(const StringRef &Name);
+  /// \brief Create a new MCFunction.
+  MCFunction *createFunction(StringRef Name);
 
   /// \name Access to the owned function list.
   /// @{