diff options
Diffstat (limited to 'clang')
-rw-r--r-- | clang/include/clang/Basic/Module.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/include/clang/Basic/Module.h b/clang/include/clang/Basic/Module.h index 89fd3886b44..9b66840ba41 100644 --- a/clang/include/clang/Basic/Module.h +++ b/clang/include/clang/Basic/Module.h @@ -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(); |