DiagnosticInfoWithDebugLocBase: Appease Twine for now.

FIXME: We should get rid of Twine in the record.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259612 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2016-02-03 00:09:22 +00:00
parent 5ff09a66da
commit ed25e06529

View File

@ -16,6 +16,7 @@
#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"
@ -28,7 +29,6 @@ class DiagnosticPrinter;
class Function;
class Instruction;
class LLVMContextImpl;
class Twine;
class Value;
class DebugLoc;
class SMDiagnostic;
@ -591,7 +591,7 @@ public:
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