Fix a copy+pasto Duncan noticed.
authorDan Gohman <gohman@apple.com>
Wed, 10 Nov 2010 18:18:23 +0000 (18:18 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 10 Nov 2010 18:18:23 +0000 (18:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118693 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/AliasAnalysis.h

index 5a1c53cd1fab0956618d4641bee27858f417db84..49797a3fbee00683b842ff2525b1d388a3193b94 100644 (file)
@@ -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);