summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/AliasAnalysis.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-12-17 17:02:54 +0000
committerChris Lattner <sabre@nondot.org>2004-12-17 17:02:54 +0000
commitfb752ba02ada9349353b256f81405dd6866c1364 (patch)
tree214cc412b2c68ad95562fa4968dba6ca4d3aa821 /include/llvm/Analysis/AliasAnalysis.h
parent9141f033226230f0822bb62dfdb67e48ae753245 (diff)
downloadllvm-fb752ba02ada9349353b256f81405dd6866c1364.tar.gz
llvm-fb752ba02ada9349353b256f81405dd6866c1364.tar.bz2
llvm-fb752ba02ada9349353b256f81405dd6866c1364.tar.xz
Make code fit in 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19016 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/AliasAnalysis.h')
-rw-r--r--include/llvm/Analysis/AliasAnalysis.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Analysis/AliasAnalysis.h b/include/llvm/Analysis/AliasAnalysis.h
index ef52cb61df..73b646d935 100644
--- a/include/llvm/Analysis/AliasAnalysis.h
+++ b/include/llvm/Analysis/AliasAnalysis.h
@@ -185,7 +185,7 @@ public:
/// called from the specified call site. The call site may be null in which
/// case the most generic behavior of this function should be returned.
virtual ModRefBehavior getModRefBehavior(Function *F, CallSite CS,
- std::vector<PointerAccessInfo> *Info = 0);
+ std::vector<PointerAccessInfo> *Info = 0);
/// doesNotAccessMemory - If the specified function is known to never read or
/// write memory, return true. If the function only reads from known-constant
@@ -212,7 +212,8 @@ public:
/// This property corresponds to the GCC 'pure' attribute.
///
bool onlyReadsMemory(Function *F) {
- /// FIXME: If the analysis returns more precise info, we can reduce it to this.
+ /// FIXME: If the analysis returns more precise info, we can reduce it to
+ /// this.
return getModRefBehavior(F, CallSite()) == OnlyReadsMemory;
}