diff options
author | Eric Christopher <echristo@apple.com> | 2009-11-16 22:34:32 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2009-11-16 22:34:32 +0000 |
commit | 4c269e2feb230d4380c0b3cd72da517bd2222023 (patch) | |
tree | 5eed80d6eee9e4e8966d66a8dc171e4ba76e43bf /include | |
parent | 600c04369775b014073ec295545ff9dd2a7f2fed (diff) | |
download | external_llvm-4c269e2feb230d4380c0b3cd72da517bd2222023.zip external_llvm-4c269e2feb230d4380c0b3cd72da517bd2222023.tar.gz external_llvm-4c269e2feb230d4380c0b3cd72da517bd2222023.tar.bz2 |
Fix unused variables warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88977 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/ADT/StringRef.h | 2 | ||||
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/ADT/StringRef.h b/include/llvm/ADT/StringRef.h index b6486e7..ed651bf 100644 --- a/include/llvm/ADT/StringRef.h +++ b/include/llvm/ADT/StringRef.h @@ -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. diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 416f912..109ff74 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -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. |