mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-03 17:31:50 +00:00
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:
parent
5ff09a66da
commit
ed25e06529
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user