aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PIC16
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-08-12 22:10:57 +0000
committerDan Gohman <gohman@apple.com>2009-08-12 22:10:57 +0000
commit3dbe9443c80ab668ad5cc8547fdb874634f25818 (patch)
tree217ac479944faf363c1d09f76ff1b9eb70fbbd57 /lib/Target/PIC16
parent745d9d3b20414f44393b9b80f4edd87080d250c5 (diff)
downloadexternal_llvm-3dbe9443c80ab668ad5cc8547fdb874634f25818.zip
external_llvm-3dbe9443c80ab668ad5cc8547fdb874634f25818.tar.gz
external_llvm-3dbe9443c80ab668ad5cc8547fdb874634f25818.tar.bz2
This void is implicit in C++.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78848 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16')
-rw-r--r--lib/Target/PIC16/PIC16AsmPrinter.cpp2
-rw-r--r--lib/Target/PIC16/PIC16AsmPrinter.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PIC16/PIC16AsmPrinter.cpp b/lib/Target/PIC16/PIC16AsmPrinter.cpp
index a981d83..1cd64f6 100644
--- a/lib/Target/PIC16/PIC16AsmPrinter.cpp
+++ b/lib/Target/PIC16/PIC16AsmPrinter.cpp
@@ -194,7 +194,7 @@ static bool is_duplicate(const char *s1, const char *s2) {
/// printLibcallDecls - print the extern declarations for compiler
/// intrinsics.
///
-void PIC16AsmPrinter::printLibcallDecls(void) {
+void PIC16AsmPrinter::printLibcallDecls() {
// If no libcalls used, return.
if (LibcallDecls.empty()) return;
diff --git a/lib/Target/PIC16/PIC16AsmPrinter.h b/lib/Target/PIC16/PIC16AsmPrinter.h
index b7a50a9..3eea880 100644
--- a/lib/Target/PIC16/PIC16AsmPrinter.h
+++ b/lib/Target/PIC16/PIC16AsmPrinter.h
@@ -56,7 +56,7 @@ namespace llvm {
void EmitRemainingAutos ();
void EmitRomData (Module &M);
void EmitFunctionFrame(MachineFunction &MF);
- void printLibcallDecls(void);
+ void printLibcallDecls();
protected:
bool doInitialization(Module &M);
bool doFinalization(Module &M);