aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/SourceMgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/SourceMgr.h')
-rw-r--r--include/llvm/Support/SourceMgr.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/llvm/Support/SourceMgr.h b/include/llvm/Support/SourceMgr.h
index 7c8a139091..37cdc0a1f4 100644
--- a/include/llvm/Support/SourceMgr.h
+++ b/include/llvm/Support/SourceMgr.h
@@ -145,17 +145,6 @@ public:
const std::string &Msg, const std::string &LineStr)
: Filename(FN), LineNo(Line), ColumnNo(Col), Message(Msg),
LineContents(LineStr) {}
- SMDiagnostic(const SMDiagnostic &RHS) {
- operator=(RHS);
- }
-
- void operator=(const SMDiagnostic &E) {
- Filename = E.Filename;
- LineNo = E.LineNo;
- ColumnNo = E.ColumnNo;
- Message = E.Message;
- LineContents = E.LineContents;
- }
void Print(const char *ProgName, raw_ostream &S);
};