about summary refs log tree commit diff
path: root/src/rustllvm
diff options
context:
space:
mode:
Diffstat (limited to 'src/rustllvm')
-rw-r--r--src/rustllvm/RustGCMetadataPrinter.cpp6
-rw-r--r--src/rustllvm/RustGCStrategy.cpp6
-rw-r--r--src/rustllvm/RustWrapper.cpp19
3 files changed, 16 insertions, 15 deletions
diff --git a/src/rustllvm/RustGCMetadataPrinter.cpp b/src/rustllvm/RustGCMetadataPrinter.cpp
index 0e9cc21269f..f002b67224f 100644
--- a/src/rustllvm/RustGCMetadataPrinter.cpp
+++ b/src/rustllvm/RustGCMetadataPrinter.cpp
@@ -1,15 +1,15 @@
-//===-- RustGCPrinter.cpp - Rust garbage collection map printer -----------===//
+//===-- RustGCPrinter.cpp - Rust garbage collection map printer -----------===
 //
 //                     The LLVM Compiler Infrastructure
 //
 // This file is distributed under the University of Illinois Open Source
 // License. See LICENSE.TXT for details.
 //
-//===----------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===
 //
 // This file defines the emitter for the Rust garbage collection stack maps.
 //
-//===----------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===
 
 #include "llvm/Constants.h"
 #include "llvm/DerivedTypes.h"
diff --git a/src/rustllvm/RustGCStrategy.cpp b/src/rustllvm/RustGCStrategy.cpp
index 49497600725..a6645d15a48 100644
--- a/src/rustllvm/RustGCStrategy.cpp
+++ b/src/rustllvm/RustGCStrategy.cpp
@@ -1,15 +1,15 @@
-//===- RustGCStrategy.cpp - Rust garbage collection strategy ----*- C++ -*-===//
+//===- RustGCStrategy.cpp - Rust garbage collection strategy ----*- C++ -*-===
 //
 //                     The LLVM Compiler Infrastructure
 //
 // This file is distributed under the University of Illinois Open Source
 // License. See LICENSE.TXT for details.
 //
-//===----------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===
 //
 // This file defines the garbage collection strategy for Rust.
 //
-//===----------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===
 
 #include "llvm/CodeGen/GCs.h"
 #include "llvm/CodeGen/GCStrategy.h"
diff --git a/src/rustllvm/RustWrapper.cpp b/src/rustllvm/RustWrapper.cpp
index 3031ce6685a..a1f68c2dd39 100644
--- a/src/rustllvm/RustWrapper.cpp
+++ b/src/rustllvm/RustWrapper.cpp
@@ -1,16 +1,16 @@
-//===- RustWrapper.cpp - Rust wrapper for core functions --------*- C++ -*-===//
+//===- RustWrapper.cpp - Rust wrapper for core functions --------*- C++ -*-===
 //
 //                     The LLVM Compiler Infrastructure
 //
 // This file is distributed under the University of Illinois Open Source
 // License. See LICENSE.TXT for details.
 //
-//===----------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===
 //
 // This file defines alternate interfaces to core functions that are more
 // readily callable by Rust's FFI.
 //
-//===----------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===
 
 #include "llvm/Linker.h"
 #include "llvm/PassManager.h"
@@ -60,12 +60,13 @@ extern "C" bool LLVMLinkModules(LLVMModuleRef Dest, LLVMModuleRef Src) {
   return true;
 }
 
-extern "C" void LLVMRustWriteOutputFile(LLVMPassManagerRef PMR,
-                                        LLVMModuleRef M,
-                                        const char *triple,
-                                        const char *path,
-                                        TargetMachine::CodeGenFileType FileType,
-                                        CodeGenOpt::Level OptLevel) {
+extern "C" void
+LLVMRustWriteOutputFile(LLVMPassManagerRef PMR,
+                        LLVMModuleRef M,
+                        const char *triple,
+                        const char *path,
+                        TargetMachine::CodeGenFileType FileType,
+                        CodeGenOpt::Level OptLevel) {
 
   // Set compilation options.
   llvm::NoFramePointerElim = true;