FIXME: We should get rid of Twine in the record.
llvm-svn: 259612
#define LLVM_IR_DIAGNOSTICINFO_H
#include "llvm/ADT/ArrayRef.h"
+#include "llvm/ADT/Twine.h"
#include "llvm/IR/DebugLoc.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/Casting.h"
class Function;
class Instruction;
class LLVMContextImpl;
-class Twine;
class Value;
class DebugLoc;
class SMDiagnostic;
class DiagnosticInfoUnsupported
: public DiagnosticInfoWithDebugLocBase {
private:
- const Twine &Msg;
+ Twine Msg;
public:
/// \p Fn is the function where the diagnostic is being emitted. \p DLoc is