Skip to content
Snippets Groups Projects
Commit 360b86d2 authored by Richard Smith's avatar Richard Smith
Browse files

Add a FIXME for a bug Doug pointed out in code review.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209915 91177308-0d34-0410-b5e6-96231b3b80d8
parent c951e339
No related branches found
No related tags found
No related merge requests found
......@@ -425,6 +425,10 @@ public:
/// \brief Determine whether the specified module would be visible to
/// a lookup at the end of this module.
///
/// FIXME: This may return incorrect results for (submodules of) the
/// module currently being built, if it's queried before we see all
/// of its imports.
bool isModuleVisible(const Module *M) const {
if (VisibleModulesCache.empty())
buildVisibleModulesCache();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment