diff options
| author | Serge Pavlov <sepavloff@gmail.com> | 2013-10-14 14:05:48 +0000 |
|---|---|---|
| committer | Serge Pavlov <sepavloff@gmail.com> | 2013-10-14 14:05:48 +0000 |
| commit | c0cd80fb20d87440cf6637095a9aaf69a28b01a9 (patch) | |
| tree | 4b24061fd84215b3ee03a390699af8b687ac1adc /clang/test/SemaObjC/error-outof-scope-property-use.m | |
| parent | 43d90cbd86dc8565ed119a2941a29369a214ea37 (diff) | |
| download | bcm5719-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.m | 2 |
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 |

