diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-11 15:52:30 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-11 15:52:30 +0000 |
commit | 6acc0b24a969c1ab5898c7256d2cc08291e25561 (patch) | |
tree | 5c14c0b1738ad6a69c334213bf72a8ea5637687d /include/llvm/Support/SourceMgr.h | |
parent | 877d0a7b6530bb7991487e1e701790aa5b52d7d1 (diff) | |
download | external_llvm-6acc0b24a969c1ab5898c7256d2cc08291e25561.zip external_llvm-6acc0b24a969c1ab5898c7256d2cc08291e25561.tar.gz external_llvm-6acc0b24a969c1ab5898c7256d2cc08291e25561.tar.bz2 |
Use the default copy-ctor, copy-assignment, and destructor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78670 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/SourceMgr.h')
-rw-r--r-- | include/llvm/Support/SourceMgr.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/llvm/Support/SourceMgr.h b/include/llvm/Support/SourceMgr.h index 7c8a139..37cdc0a 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); }; |