mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
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
This commit is contained in:
@ -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);
|
||||
};
|
||||
|
Reference in New Issue
Block a user