]> granicus.if.org Git - clang/commitdiff
document -fno-assume-sane-operator-new, per Chris request.
authorNuno Lopes <nunoplopes@sapo.pt>
Thu, 17 Dec 2009 10:00:52 +0000 (10:00 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Thu, 17 Dec 2009 10:00:52 +0000 (10:00 +0000)
please review for English grammar mistakes

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91599 91177308-0d34-0410-b5e6-96231b3b80d8

docs/UsersManual.html

index 2601da25514712ff67611f9e6774e079aa2a52a1..7d6af988e17f63d823b07e56a5ade7c0071175f7 100644 (file)
@@ -590,6 +590,12 @@ The checks are:
 </p>
 </dd>
 
+<dt id="opt_fno-assume-sane-operator-new"><b>-fno-assume-sane-operator-new</b>:
+Don't assume that the C++'s new operator is sane.</dt>
+<dd>This option tells the compiler to do not assume that C++'s global - and any
+possibly overloaded - new operator will always return a pointer that do not
+alias any other pointer when the function returns.</dd>
+
 <!-- ======================================================================= -->
 <h2 id="c">C Language Features</h2>
 <!-- ======================================================================= -->