Revert "[cxxmodules] Manually initialize the module manager before callbacks."
This reverts commit 6b3f5a1f04afff77089d39c905b29ce0a411d683.
This commit is contained in:
parent
e20f8edbec
commit
8165c1c800
@ -226,12 +226,6 @@ namespace cling {
|
||||
DiagnosticConsumer& DClient = getCI()->getDiagnosticClient();
|
||||
DClient.BeginSourceFile(getCI()->getLangOpts(), &PP);
|
||||
|
||||
if (m_IncrParser->getCI()->getLangOpts().Modules) {
|
||||
// Explicitly create the modulemanager now. If we would create it later
|
||||
// implicitly then it would just overwrite our callbacks we set below.
|
||||
m_IncrParser->getCI()->createModuleManager();
|
||||
}
|
||||
|
||||
// Disable suggestions for ROOT
|
||||
bool showSuggestions =
|
||||
!llvm::StringRef(ClingStringify(CLING_VERSION)).startswith("ROOT");
|
||||
|
Loading…
Reference in New Issue
Block a user