aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-10-10 18:47:08 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-10-10 18:47:08 +0000
commit4fa9fd3035780e7733f4b4510d1f98c70f65bfd7 (patch)
treecfd92ec973a8abf6398ac20691de31639a550b6f
parent17634f7668f275d3c3ac97d4b476443b2528648d (diff)
downloadexternal_llvm-4fa9fd3035780e7733f4b4510d1f98c70f65bfd7.zip
external_llvm-4fa9fd3035780e7733f4b4510d1f98c70f65bfd7.tar.gz
external_llvm-4fa9fd3035780e7733f4b4510d1f98c70f65bfd7.tar.bz2
Rewrite head-of-file comment.
Include <cstdio> instead of <stdio.h>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9033 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/llvm-ar/llvm-ar.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/tools/llvm-ar/llvm-ar.cpp b/tools/llvm-ar/llvm-ar.cpp
index c1ec7ec..bb9aef5 100644
--- a/tools/llvm-ar/llvm-ar.cpp
+++ b/tools/llvm-ar/llvm-ar.cpp
@@ -1,26 +1,23 @@
-//===----------------------------------------------------------------------===//
-// LLVM 'ar' UTILITY
+//===-- tools/llvm-ar/llvm-ar.cpp - LLVM archive librarian utility --------===//
//
-// This utility may be invoked in the following manner:
-// llvm-ar archivename files..
+// Builds up standard unix archive files (.a) containing LLVM bytecode.
//
//===----------------------------------------------------------------------===//
+
#include "Support/CommandLine.h"
#include "llvm/Bytecode/Reader.h"
#include "llvm/Module.h"
-
#include <string>
#include <iostream>
#include <fstream>
#include <vector>
#include <sys/stat.h>
-#include <stdio.h>
+#include <cstdio>
#include <sys/types.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/mman.h>
-
using std::string;
using std::vector;
using std::cout;