summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/new.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Analysis/new.cpp')
-rw-r--r--clang/test/Analysis/new.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/new.cpp b/clang/test/Analysis/new.cpp
index 0cd2d085f72..4ae93c612f3 100644
--- a/clang/test/Analysis/new.cpp
+++ b/clang/test/Analysis/new.cpp
@@ -138,7 +138,7 @@ void testNewDeleteNoWarn() {
// unix.Malloc does not know about operators new/delete.
void testDeleteMallocked() {
int *x = (int *)malloc(sizeof(int));
- delete x; // FIXME: Shoud detect pointer escape and keep silent after 'delete' is modeled properly.
+ delete x; // FIXME: Should detect pointer escape and keep silent after 'delete' is modeled properly.
} // expected-warning{{Potential leak of memory pointed to by 'x'}}
void testDeleteOpAfterFree() {
OpenPOWER on IntegriCloud