mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 19:25:00 +00:00
fix warnings when compiling with -Wshadow
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157061 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -176,9 +176,9 @@ public:
|
||||
SMDiagnostic()
|
||||
: SM(0), LineNo(0), ColumnNo(0), Kind(SourceMgr::DK_Error) {}
|
||||
// Diagnostic with no location (e.g. file not found, command line arg error).
|
||||
SMDiagnostic(const std::string &filename, SourceMgr::DiagKind Kind,
|
||||
SMDiagnostic(const std::string &filename, SourceMgr::DiagKind Knd,
|
||||
const std::string &Msg)
|
||||
: SM(0), Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Kind),
|
||||
: SM(0), Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd),
|
||||
Message(Msg) {}
|
||||
|
||||
// Diagnostic with a location.
|
||||
|
Reference in New Issue
Block a user