summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/error-outof-scope-property-use.m
diff options
context:
space:
mode:
authorSerge Pavlov <sepavloff@gmail.com>2013-10-14 14:05:48 +0000
committerSerge Pavlov <sepavloff@gmail.com>2013-10-14 14:05:48 +0000
commitc0cd80fb20d87440cf6637095a9aaf69a28b01a9 (patch)
tree4b24061fd84215b3ee03a390699af8b687ac1adc /clang/test/SemaObjC/error-outof-scope-property-use.m
parent43d90cbd86dc8565ed119a2941a29369a214ea37 (diff)
downloadbcm5719-llvm-c0cd80fb20d87440cf6637095a9aaf69a28b01a9.tar.gz
bcm5719-llvm-c0cd80fb20d87440cf6637095a9aaf69a28b01a9.zip
Do not use typo correction that is unaccessible.
This patch fixes PR17019. When doing typo correction, Sema::CorrectTypo uses correction already seen for the same typo. This causes problems if that correction is from another scope and cannot be accessed in the current. llvm-svn: 192594
Diffstat (limited to 'clang/test/SemaObjC/error-outof-scope-property-use.m')
-rw-r--r--clang/test/SemaObjC/error-outof-scope-property-use.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaObjC/error-outof-scope-property-use.m b/clang/test/SemaObjC/error-outof-scope-property-use.m
index 8767dc0b856..c480e2df0b7 100644
--- a/clang/test/SemaObjC/error-outof-scope-property-use.m
+++ b/clang/test/SemaObjC/error-outof-scope-property-use.m
@@ -6,7 +6,7 @@
@interface LaunchdJobs
-@property (nonatomic,retain) NSMutableDictionary *uuids_jobs; // expected-note 2 {{'_uuids_jobs' declared here}}
+@property (nonatomic,retain) NSMutableDictionary *uuids_jobs; // expected-note {{'_uuids_jobs' declared here}}
@end
OpenPOWER on IntegriCloud