Skip to content

Commit c4f6ceb

Browse files
committed
Do not resolve from require complete type.
1 parent 2b76c1b commit c4f6ceb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/metacling/src/TClingCallbacks.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,8 +384,8 @@ bool TClingCallbacks::LookupObject(clang::TagDecl* Tag) {
384384
// Clang needs Tag's complete definition. Can we parse it?
385385
if (fIsAutoLoadingRecursively || fIsAutoParsingSuspended) return false;
386386

387-
if (findInGlobalModuleIndex(Tag->getDeclName(), /*loadFirstMatchOnly*/ false))
388-
return true;
387+
// if (findInGlobalModuleIndex(Tag->getDeclName(), /*loadFirstMatchOnly*/false))
388+
// return true;
389389

390390
Sema &SemaR = m_Interpreter->getSema();
391391

0 commit comments

Comments
 (0)