diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-05-05 02:14:06 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-05-05 02:14:06 +0000 |
commit | acef17aa4a1d07771fa28a3e27c3427966ef8c91 (patch) | |
tree | 58e6299251afc47b283d395ef675050fa61e756e /clang/lib | |
parent | 5cbeb75a994be6fd6a73f9d48a0a95337f743096 (diff) | |
download | bcm5719-llvm-acef17aa4a1d07771fa28a3e27c3427966ef8c91.tar.gz bcm5719-llvm-acef17aa4a1d07771fa28a3e27c3427966ef8c91.zip |
Update FIXME.
llvm-svn: 268595
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Sema/SemaLookup.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaLookup.cpp b/clang/lib/Sema/SemaLookup.cpp index eaf44861d32..b2ab39aacbe 100644 --- a/clang/lib/Sema/SemaLookup.cpp +++ b/clang/lib/Sema/SemaLookup.cpp @@ -4960,8 +4960,6 @@ void Sema::diagnoseMissingImport(SourceLocation Loc, NamedDecl *Decl, if (!Def) Def = Decl; - // FIXME: Add a Fix-It that imports the corresponding module or includes - // the header. Module *Owner = getOwningModule(Decl); assert(Owner && "definition of hidden declaration is not in a module"); @@ -5015,6 +5013,7 @@ void Sema::diagnoseMissingImport(SourceLocation UseLoc, NamedDecl *Decl, << (int)MIK << Decl << Modules[0]->getFullModuleName() << getIncludeStringForHeader(PP, E); } else { + // FIXME: Add a FixItHint that imports the corresponding module. Diag(UseLoc, diag::err_module_unimported_use) << (int)MIK << Decl << Modules[0]->getFullModuleName(); } |