r267501 - [Docs] Fix indentation error introduced by r267447.
George Burgess IV via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 25 17:31:30 PDT 2016
Author: gbiv
Date: Mon Apr 25 19:31:29 2016
New Revision: 267501
URL: http://llvm.org/viewvc/llvm-project?rev=267501&view=rev
Log:
[Docs] Fix indentation error introduced by r267447.
Modified:
cfe/trunk/docs/UndefinedBehaviorSanitizer.rst
Modified: cfe/trunk/docs/UndefinedBehaviorSanitizer.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/UndefinedBehaviorSanitizer.rst?rev=267501&r1=267500&r2=267501&view=diff
==============================================================================
--- cfe/trunk/docs/UndefinedBehaviorSanitizer.rst (original)
+++ cfe/trunk/docs/UndefinedBehaviorSanitizer.rst Mon Apr 25 19:31:29 2016
@@ -93,13 +93,13 @@ Available checks are:
- ``-fsanitize=null``: Use of a null pointer or creation of a null
reference.
- ``-fsanitize=object-size``: An attempt to potentially use bytes which
- the optimizer can determine are not part of the object being accessed.
- This will also detect some types of undefined behavior that may not
- directly access memory, but are provably incorrect given the size of
- the objects involved, such as invalid downcasts and calling methods on
- invalid pointers. These checks are made in terms of
- ``__builtin_object_size``, and consequently may be able to detect more
- problems at higher optimization levels.
+ the optimizer can determine are not part of the object being accessed.
+ This will also detect some types of undefined behavior that may not
+ directly access memory, but are provably incorrect given the size of
+ the objects involved, such as invalid downcasts and calling methods on
+ invalid pointers. These checks are made in terms of
+ ``__builtin_object_size``, and consequently may be able to detect more
+ problems at higher optimization levels.
- ``-fsanitize=return``: In C++, reaching the end of a
value-returning function without returning a value.
- ``-fsanitize=returns-nonnull-attribute``: Returning null pointer
More information about the cfe-commits
mailing list