diff options
Diffstat (limited to 'lib/System')
-rw-r--r-- | lib/System/DynamicLibrary.cpp | 10 | ||||
-rw-r--r-- | lib/System/MappedFile.cpp | 8 | ||||
-rw-r--r-- | lib/System/Memory.cpp | 8 | ||||
-rw-r--r-- | lib/System/Path.cpp | 12 | ||||
-rw-r--r-- | lib/System/Process.cpp | 8 | ||||
-rw-r--r-- | lib/System/Program.cpp | 8 | ||||
-rw-r--r-- | lib/System/Signals.cpp | 6 | ||||
-rw-r--r-- | lib/System/TimeValue.cpp | 6 | ||||
-rw-r--r-- | lib/System/Unix/SUS/Process.cpp | 10 | ||||
-rw-r--r-- | lib/System/Unix/Unix.h | 8 | ||||
-rw-r--r-- | lib/System/Win32/Win32.h | 6 |
11 files changed, 45 insertions, 45 deletions
diff --git a/lib/System/DynamicLibrary.cpp b/lib/System/DynamicLibrary.cpp index 231cdac..18894cb 100644 --- a/lib/System/DynamicLibrary.cpp +++ b/lib/System/DynamicLibrary.cpp @@ -1,10 +1,10 @@ //===-- DynamicLibrary.cpp - Runtime link/load libraries --------*- C++ -*-===// -// +// // The LLVM Compiler Infrastructure // -// This file was developed by Reid Spencer and is distributed under the +// This file was developed by Reid Spencer and is distributed under the // University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This header file implements the operating system DynamicLibrary concept. @@ -33,7 +33,7 @@ using namespace llvm::sys; //===----------------------------------------------------------------------===// //=== WARNING: Implementation here must contain only TRULY operating system -//=== independent code. +//=== independent code. //===----------------------------------------------------------------------===// static bool did_initialize_ltdl = false; @@ -55,7 +55,7 @@ DynamicLibrary::DynamicLibrary() : handle(0) { if (a_handle == 0) throw std::string("Can't open program as dynamic library"); - + handle = a_handle; OpenedHandles.push_back(a_handle); } diff --git a/lib/System/MappedFile.cpp b/lib/System/MappedFile.cpp index b8caa95..1470fbb 100644 --- a/lib/System/MappedFile.cpp +++ b/lib/System/MappedFile.cpp @@ -1,10 +1,10 @@ //===- MappedFile.cpp - MappedFile Support ----------------------*- C++ -*-===// -// +// // The LLVM Compiler Infrastructure // -// This file was developed by Reid Spencer and is distributed under the +// This file was developed by Reid Spencer and is distributed under the // University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This file implements the mapped file concept. @@ -19,7 +19,7 @@ using namespace sys; //===----------------------------------------------------------------------===// //=== WARNING: Implementation here must contain only TRULY operating system -//=== independent code. +//=== independent code. //===----------------------------------------------------------------------===// } diff --git a/lib/System/Memory.cpp b/lib/System/Memory.cpp index 71f1948..2ec5666 100644 --- a/lib/System/Memory.cpp +++ b/lib/System/Memory.cpp @@ -1,10 +1,10 @@ //===- Memory.cpp - Memory Handling Support ---------------------*- C++ -*-===// -// +// // The LLVM Compiler Infrastructure // -// This file was developed by Reid Spencer and is distributed under the +// This file was developed by Reid Spencer and is distributed under the // University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This file defines some helpful functions for allocating memory and dealing @@ -20,7 +20,7 @@ using namespace sys; //===----------------------------------------------------------------------===// //=== WARNING: Implementation here must contain only TRULY operating system -//=== independent code. +//=== independent code. //===----------------------------------------------------------------------===// } diff --git a/lib/System/Path.cpp b/lib/System/Path.cpp index d61a015..8ac2308 100644 --- a/lib/System/Path.cpp +++ b/lib/System/Path.cpp @@ -1,10 +1,10 @@ //===-- Path.cpp - Implement OS Path Concept --------------------*- C++ -*-===// -// +// // The LLVM Compiler Infrastructure // -// This file was developed by Reid Spencer and is distributed under the +// This file was developed by Reid Spencer and is distributed under the // University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This header file implements the operating system Path concept. @@ -20,7 +20,7 @@ using namespace sys; //===----------------------------------------------------------------------===// //=== WARNING: Implementation here must contain only TRULY operating system -//=== independent code. +//=== independent code. //===----------------------------------------------------------------------===// Path @@ -33,7 +33,7 @@ Path::GetLLVMConfigDir() { return GetLLVMDefaultConfigDir(); } -LLVMFileType +LLVMFileType sys::IdentifyFileType(const char*magic, unsigned length) { assert(magic && "Invalid magic number string"); assert(length >=4 && "Invalid magic number length"); @@ -69,7 +69,7 @@ Path::isArchive() const { bool Path::isDynamicLibrary() const { - if (readable()) + if (readable()) return hasMagicNumber("\177ELF"); return false; } diff --git a/lib/System/Process.cpp b/lib/System/Process.cpp index ccd30b5..c826e5e 100644 --- a/lib/System/Process.cpp +++ b/lib/System/Process.cpp @@ -1,10 +1,10 @@ //===-- Process.cpp - Implement OS Process Concept --------------*- C++ -*-===// -// +// // The LLVM Compiler Infrastructure // -// This file was developed by Reid Spencer and is distributed under the +// This file was developed by Reid Spencer and is distributed under the // University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This header file implements the operating system Process concept. @@ -19,7 +19,7 @@ using namespace sys; //===----------------------------------------------------------------------===// //=== WARNING: Implementation here must contain only TRULY operating system -//=== independent code. +//=== independent code. //===----------------------------------------------------------------------===// } diff --git a/lib/System/Program.cpp b/lib/System/Program.cpp index e9661da..abe6e18 100644 --- a/lib/System/Program.cpp +++ b/lib/System/Program.cpp @@ -1,10 +1,10 @@ //===-- Program.cpp - Implement OS Program Concept --------------*- C++ -*-===// -// +// // The LLVM Compiler Infrastructure // -// This file was developed by Reid Spencer and is distributed under the +// This file was developed by Reid Spencer and is distributed under the // University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This header file implements the operating system Program concept. @@ -19,7 +19,7 @@ using namespace sys; //===----------------------------------------------------------------------===// //=== WARNING: Implementation here must contain only TRULY operating system -//=== independent code. +//=== independent code. //===----------------------------------------------------------------------===// } diff --git a/lib/System/Signals.cpp b/lib/System/Signals.cpp index cdd7306..28f7028 100644 --- a/lib/System/Signals.cpp +++ b/lib/System/Signals.cpp @@ -1,10 +1,10 @@ //===- Signals.cpp - Signal Handling support --------------------*- C++ -*-===// -// +// // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This file defines some helpful functions for dealing with the possibility of @@ -20,7 +20,7 @@ using namespace sys; //===----------------------------------------------------------------------===// //=== WARNING: Implementation here must contain only TRULY operating system -//=== independent code. +//=== independent code. //===----------------------------------------------------------------------===// } diff --git a/lib/System/TimeValue.cpp b/lib/System/TimeValue.cpp index ccf15a2..587e444 100644 --- a/lib/System/TimeValue.cpp +++ b/lib/System/TimeValue.cpp @@ -1,10 +1,10 @@ //===-- TimeValue.cpp - Implement OS TimeValue Concept ----------*- C++ -*-===// -// +// // The LLVM Compiler Infrastructure // -// This file was developed by Reid Spencer and is distributed under the +// This file was developed by Reid Spencer and is distributed under the // University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This file implements the operating system TimeValue concept. diff --git a/lib/System/Unix/SUS/Process.cpp b/lib/System/Unix/SUS/Process.cpp index d10b88e..36d4753 100644 --- a/lib/System/Unix/SUS/Process.cpp +++ b/lib/System/Unix/SUS/Process.cpp @@ -1,10 +1,10 @@ //===- Unix/SUS/Process.cpp - Linux Process Implementation ---- -*- C++ -*-===// -// +// // The LLVM Compiler Infrastructure // -// This file was developed by Reid Spencer and is distributed under the +// This file was developed by Reid Spencer and is distributed under the // University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This file provides the Linux specific implementation of the Process class. @@ -14,14 +14,14 @@ #include <unistd.h> //===----------------------------------------------------------------------===// -//=== WARNING: Implementation here must contain only code specific to the +//=== WARNING: Implementation here must contain only code specific to the //=== SUS (Single Unix Specification). //===----------------------------------------------------------------------===// namespace llvm { using namespace sys; -unsigned +unsigned Process::GetPageSize() { static const long page_size = sysconf(_SC_PAGE_SIZE); return static_cast<unsigned>(page_size); diff --git a/lib/System/Unix/Unix.h b/lib/System/Unix/Unix.h index 741a817..32609f2 100644 --- a/lib/System/Unix/Unix.h +++ b/lib/System/Unix/Unix.h @@ -1,10 +1,10 @@ //===- llvm/System/Unix/Unix.h - Common Unix Include File -------*- C++ -*-===// -// +// // The LLVM Compiler Infrastructure // -// This file was developed by Reid Spencer and is distributed under the +// This file was developed by Reid Spencer and is distributed under the // University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This file defines things specific to Unix implementations. @@ -37,7 +37,7 @@ #ifdef HAVE_SYS_PARAM_H #include <sys/param.h> -#endif +#endif #ifdef HAVE_ASSERT_H #include <assert.h> diff --git a/lib/System/Win32/Win32.h b/lib/System/Win32/Win32.h index ab6b3c2..6cda8c6 100644 --- a/lib/System/Win32/Win32.h +++ b/lib/System/Win32/Win32.h @@ -1,10 +1,10 @@ //===- Win32/Win32.h - Common Win32 Include File ----------------*- C++ -*-===// -// +// // The LLVM Compiler Infrastructure // -// This file was developed by Reid Spencer and is distributed under the +// This file was developed by Reid Spencer and is distributed under the // University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This file defines things specific to Unix implementations. |