summaryrefslogtreecommitdiff
path: root/lib/Analysis
diff options
context:
space:
mode:
authorVictor Hernandez <vhernandez@apple.com>2009-09-10 20:18:57 +0000
committerVictor Hernandez <vhernandez@apple.com>2009-09-10 20:18:57 +0000
commit399e45b459c2904b9bd1927306670585ecec3378 (patch)
treef6feb87fec9cbf162f1d9721701fe831be36b195 /lib/Analysis
parent7893ec649446a9b8f2816450003bec4bd35d02c2 (diff)
downloadllvm-399e45b459c2904b9bd1927306670585ecec3378.tar.gz
llvm-399e45b459c2904b9bd1927306670585ecec3378.tar.bz2
llvm-399e45b459c2904b9bd1927306670585ecec3378.tar.xz
Fit code within 80 columns
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81459 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r--lib/Analysis/MallocHelper.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Analysis/MallocHelper.cpp b/lib/Analysis/MallocHelper.cpp
index 567268c679..60930d5169 100644
--- a/lib/Analysis/MallocHelper.cpp
+++ b/lib/Analysis/MallocHelper.cpp
@@ -69,12 +69,14 @@ static bool isBitCastOfMallocCall(const BitCastInst* BCI) {
/// instruction is a bitcast of the result of a malloc call.
CallInst* llvm::extractMallocCallFromBitCast(Value* I) {
BitCastInst *BCI = dyn_cast<BitCastInst>(I);
- return (isBitCastOfMallocCall(BCI)) ? cast<CallInst>(BCI->getOperand(0)) : NULL;
+ return (isBitCastOfMallocCall(BCI)) ? cast<CallInst>(BCI->getOperand(0))
+ : NULL;
}
const CallInst* llvm::extractMallocCallFromBitCast(const Value* I) {
const BitCastInst *BCI = dyn_cast<BitCastInst>(I);
- return (isBitCastOfMallocCall(BCI)) ? cast<CallInst>(BCI->getOperand(0)) : NULL;
+ return (isBitCastOfMallocCall(BCI)) ? cast<CallInst>(BCI->getOperand(0))
+ : NULL;
}
static bool isArrayMallocHelper(const CallInst *CI) {