summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2012-11-19 07:04:30 +0000
committerBob Wilson <bob.wilson@apple.com>2012-11-19 07:04:30 +0000
commit593423f7461fbbbf752ff013bf20c19ef95d3435 (patch)
tree582ce17620d1e62c3db16261acbd8d587e8b8caf /include
parent8f54a53f0ed2091e05d5ca87d239487da292cbbc (diff)
downloadllvm-593423f7461fbbbf752ff013bf20c19ef95d3435.tar.gz
llvm-593423f7461fbbbf752ff013bf20c19ef95d3435.tar.bz2
llvm-593423f7461fbbbf752ff013bf20c19ef95d3435.tar.xz
Some comment fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168299 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/InlineCost.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/Analysis/InlineCost.h b/include/llvm/Analysis/InlineCost.h
index a075db3342..af07d38169 100644
--- a/include/llvm/Analysis/InlineCost.h
+++ b/include/llvm/Analysis/InlineCost.h
@@ -120,11 +120,11 @@ namespace llvm {
/// bound the computation necessary to determine whether the cost is
/// sufficiently low to warrant inlining.
InlineCost getInlineCost(CallSite CS, int Threshold);
- /// getCalledFunction - The heuristic used to determine if we should inline
- /// the function call or not. The callee is explicitly specified, to allow
- /// you to calculate the cost of inlining a function via a pointer. This
- /// behaves exactly as the version with no explicit callee parameter in all
- /// other respects.
+
+ /// \brief Get an InlineCost with the callee explicitly specified.
+ /// This allows you to calculate the cost of inlining a function via a
+ /// pointer. This behaves exactly as the version with no explicit callee
+ /// parameter in all other respects.
//
// Note: This is used by out-of-tree passes, please do not remove without
// adding a replacement API.