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 | 2255f2ce90777f5a614e98840e57250816743b15 (patch) | |
| tree | f9f16f7e2370ff6ee3e9633d654e19cdf2ebe80b /clang/lib/Sema/SemaTemplate.cpp | |
| parent | 433790a69c8d038ebd22dab9cd2fedc6473ea5f7 (diff) | |
| download | bcm5719-llvm-2255f2ce90777f5a614e98840e57250816743b15.tar.gz bcm5719-llvm-2255f2ce90777f5a614e98840e57250816743b15.zip | |
Initial implementation of -modules-earch-all option, for searching for symbols in non-imported modules.
llvm-svn: 206977
Diffstat (limited to 'clang/lib/Sema/SemaTemplate.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaTemplate.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaTemplate.cpp b/clang/lib/Sema/SemaTemplate.cpp index a7764d8df92..64c32638051 100644 --- a/clang/lib/Sema/SemaTemplate.cpp +++ b/clang/lib/Sema/SemaTemplate.cpp @@ -325,7 +325,8 @@ void Sema::LookupTemplateName(LookupResult &Found, FilterCCC.WantCXXNamedCasts = true; if (TypoCorrection Corrected = CorrectTypo(Found.getLookupNameInfo(), Found.getLookupKind(), S, &SS, - FilterCCC, LookupCtx)) { + FilterCCC, CTK_ErrorRecovery, + LookupCtx)) { Found.setLookupName(Corrected.getCorrection()); if (Corrected.getCorrectionDecl()) Found.addDecl(Corrected.getCorrectionDecl()); |

