summaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/StripDeadPrototypes.cpp
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2008-05-08 17:46:35 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2008-05-08 17:46:35 +0000
commita8a118b68fa3ca1632e7280cd6994aa0f8f1eec1 (patch)
treedfddd3293b9fa7128bad1510c579c83bfa325305 /lib/Transforms/IPO/StripDeadPrototypes.cpp
parent2539e3389361115f5e75e4134bdd123171688ddc (diff)
downloadllvm-a8a118b68fa3ca1632e7280cd6994aa0f8f1eec1.tar.gz
llvm-a8a118b68fa3ca1632e7280cd6994aa0f8f1eec1.tar.bz2
llvm-a8a118b68fa3ca1632e7280cd6994aa0f8f1eec1.tar.xz
Improve pass documentation and comments.
Patch by Matthijs Kooijman! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50861 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/StripDeadPrototypes.cpp')
-rw-r--r--lib/Transforms/IPO/StripDeadPrototypes.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Transforms/IPO/StripDeadPrototypes.cpp b/lib/Transforms/IPO/StripDeadPrototypes.cpp
index fd22fdb37f..ca8a436844 100644
--- a/lib/Transforms/IPO/StripDeadPrototypes.cpp
+++ b/lib/Transforms/IPO/StripDeadPrototypes.cpp
@@ -1,4 +1,4 @@
-//===-- StripDeadPrototypes.cpp - Removed unused function declarations ----===//
+//===-- StripDeadPrototypes.cpp - Remove unused function declarations ----===//
//
// The LLVM Compiler Infrastructure
//
@@ -8,7 +8,9 @@
//===----------------------------------------------------------------------===//
//
// This pass loops over all of the functions in the input module, looking for
-// dead declarations and removes them.
+// dead declarations and removes them. Dead declarations are declarations of
+// functions for which no implementation is available (i.e., declarations for
+// unused library functions).
//
//===----------------------------------------------------------------------===//