r268595 - Update FIXME.

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Wed May 4 19:14:06 PDT 2016


Author: rsmith
Date: Wed May  4 21:14:06 2016
New Revision: 268595

URL: http://llvm.org/viewvc/llvm-project?rev=268595&view=rev
Log:
Update FIXME.

Modified:
    cfe/trunk/lib/Sema/SemaLookup.cpp

Modified: cfe/trunk/lib/Sema/SemaLookup.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaLookup.cpp?rev=268595&r1=268594&r2=268595&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaLookup.cpp (original)
+++ cfe/trunk/lib/Sema/SemaLookup.cpp Wed May  4 21:14:06 2016
@@ -4960,8 +4960,6 @@ void Sema::diagnoseMissingImport(SourceL
   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(SourceL
       << (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();
   }




More information about the cfe-commits mailing list