[llvm] r257688 - fix formatting; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 13 14:17:14 PST 2016
Author: spatel
Date: Wed Jan 13 16:17:13 2016
New Revision: 257688
URL: http://llvm.org/viewvc/llvm-project?rev=257688&view=rev
Log:
fix formatting; NFC
Modified:
llvm/trunk/lib/Analysis/AliasAnalysis.cpp
Modified: llvm/trunk/lib/Analysis/AliasAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/AliasAnalysis.cpp?rev=257688&r1=257687&r2=257688&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/AliasAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/AliasAnalysis.cpp Wed Jan 13 16:17:13 2016
@@ -544,8 +544,7 @@ bool llvm::isNoAliasCall(const Value *V)
return false;
}
-bool llvm::isNoAliasArgument(const Value *V)
-{
+bool llvm::isNoAliasArgument(const Value *V) {
if (const Argument *A = dyn_cast<Argument>(V))
return A->hasNoAliasAttr();
return false;
@@ -563,7 +562,6 @@ bool llvm::isIdentifiedObject(const Valu
return false;
}
-bool llvm::isIdentifiedFunctionLocal(const Value *V)
-{
+bool llvm::isIdentifiedFunctionLocal(const Value *V) {
return isa<AllocaInst>(V) || isNoAliasCall(V) || isNoAliasArgument(V);
}
More information about the llvm-commits
mailing list