diff options
| author | John Thompson <John.Thompson.JTSoftware@gmail.com> | 2014-04-23 12:57:01 +0000 |
|---|---|---|
| committer | John Thompson <John.Thompson.JTSoftware@gmail.com> | 2014-04-23 12:57:01 +0000 |
| commit | 9be87f878588e7ed414dbfa29805883cc9cbb885 (patch) | |
| tree | 1ce960127f08105e2ab290221b1106441d34d757 /lib/Sema/SemaInit.cpp | |
| parent | 0f0e18f77f5ceaee634653c3a80f79298d7b7407 (diff) | |
| download | clang-9be87f878588e7ed414dbfa29805883cc9cbb885.tar.gz clang-9be87f878588e7ed414dbfa29805883cc9cbb885.tar.bz2 clang-9be87f878588e7ed414dbfa29805883cc9cbb885.tar.xz | |
Initial implementation of -modules-earch-all option, for searching for symbols in non-imported modules.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206977 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaInit.cpp')
| -rw-r--r-- | lib/Sema/SemaInit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaInit.cpp b/lib/Sema/SemaInit.cpp index 9c90ac0d9a..2cf5598581 100644 --- a/lib/Sema/SemaInit.cpp +++ b/lib/Sema/SemaInit.cpp @@ -1816,7 +1816,7 @@ InitListChecker::CheckDesignatedInitializer(const InitializedEntity &Entity, if (TypoCorrection Corrected = SemaRef.CorrectTypo( DeclarationNameInfo(FieldName, D->getFieldLoc()), Sema::LookupMemberName, /*Scope=*/ 0, /*SS=*/ 0, Validator, - RT->getDecl())) { + Sema::CTK_ErrorRecovery, RT->getDecl())) { SemaRef.diagnoseTypo( Corrected, SemaRef.PDiag(diag::err_field_designator_unknown_suggest) |
