Fix unused variables warnings.

llvm-svn: 88977
This commit is contained in:
Eric Christopher 2009-11-16 22:34:32 +00:00
parent f25ef4ffb0
commit dc679f88c8
2 changed files with 3 additions and 3 deletions

View File

@ -198,7 +198,7 @@ namespace llvm {
/// find_first_of - Find the first character in the string that is \arg C,
/// or npos if not found. Same as find.
size_type find_first_of(char C, size_t From = 0) const { return find(C); }
size_type find_first_of(char C, size_t = 0) const { return find(C); }
/// find_first_of - Find the first character in the string that is in \arg
/// Chars, or npos if not found.

View File

@ -180,11 +180,11 @@ namespace llvm {
/// EmitStartOfAsmFile - This virtual method can be overridden by targets
/// that want to emit something at the start of their file.
virtual void EmitStartOfAsmFile(Module &M) {}
virtual void EmitStartOfAsmFile(Module &) {}
/// EmitEndOfAsmFile - This virtual method can be overridden by targets that
/// want to emit something at the end of their file.
virtual void EmitEndOfAsmFile(Module &M) {}
virtual void EmitEndOfAsmFile(Module &) {}
/// doFinalization - Shut down the asmprinter. If you override this in your
/// pass, you must make sure to call it explicitly.