[PATCH] D117195: supdate
Shivam Rajput via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 13 00:49:11 PST 2022
phyBrackets created this revision.
phyBrackets requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D117195
Files:
clang/docs/AddressSanitizer.rst
Index: clang/docs/AddressSanitizer.rst
===================================================================
--- clang/docs/AddressSanitizer.rst
+++ clang/docs/AddressSanitizer.rst
@@ -44,9 +44,9 @@
% cat example_UseAfterFree.cc
int main(int argc, char **argv) {
- int *array = new int[100];
- delete [] array;
- return array[argc]; // BOOM
+ int *array = new int[100] ;
+ delete [] array ;
+ return array[argc] ; // BOOM
}
# Compile and link
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117195.399571.patch
Type: text/x-patch
Size: 497 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220113/76756ee5/attachment.bin>
More information about the cfe-commits
mailing list