aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-11-10 18:18:23 +0000
committerDan Gohman <gohman@apple.com>2010-11-10 18:18:23 +0000
commitb395e4a0262c36b17b18aa33514b2daf2a85e9a3 (patch)
tree736aec4fad60185f128d4714dfa39fe1e37a2993 /include/llvm/Analysis
parent68a6056dafd4913ce42606353ab1ff7208215ff2 (diff)
downloadexternal_llvm-b395e4a0262c36b17b18aa33514b2daf2a85e9a3.zip
external_llvm-b395e4a0262c36b17b18aa33514b2daf2a85e9a3.tar.gz
external_llvm-b395e4a0262c36b17b18aa33514b2daf2a85e9a3.tar.bz2
Fix a copy+pasto Duncan noticed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118693 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r--include/llvm/Analysis/AliasAnalysis.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/AliasAnalysis.h b/include/llvm/Analysis/AliasAnalysis.h
index 5a1c53c..49797a3 100644
--- a/include/llvm/Analysis/AliasAnalysis.h
+++ b/include/llvm/Analysis/AliasAnalysis.h
@@ -276,8 +276,8 @@ public:
}
/// onlyAccessesArgPointees - Return true if functions with the specified
- /// behavior are known to read at most from objects pointed to by their
- /// pointer-typed arguments (with arbitrary offsets).
+ /// behavior are known to read and write at most from objects pointed to by
+ /// their pointer-typed arguments (with arbitrary offsets).
///
static bool onlyAccessesArgPointees(ModRefBehavior MRB) {
return !(MRB & Anywhere & ~ArgumentPointees);