Remove now redundant code.
git-svn-id: http://root.cern.ch/svn/root/trunk@47823 27541ba8-7e3a-0410-8455-c3a389f83636
This commit is contained in:
parent
ed96f22a74
commit
32751e08ff
@ -191,11 +191,9 @@ namespace cling {
|
||||
}
|
||||
|
||||
// Pull all template instantiations in that came from the consumers.
|
||||
getCI()->getSema().DefineUsedVTables();
|
||||
getCI()->getSema().PerformPendingInstantiations();
|
||||
|
||||
m_Consumer->HandleTranslationUnit(getCI()->getASTContext());
|
||||
// getCI()->getSema().ActOnEndOfTranslationUnit();
|
||||
|
||||
if (T->getCompilationOpts().CodeGeneration && hasCodeGenerator()) {
|
||||
// Reset the module builder to clean up global initializers, c'tors, d'tors
|
||||
@ -395,8 +393,6 @@ namespace cling {
|
||||
m_Consumer->HandleTopLevelDecl(DeclGroupRef(*I));
|
||||
}
|
||||
|
||||
S.PerformPendingInstantiations();
|
||||
|
||||
DiagnosticsEngine& Diag = S.getDiagnostics();
|
||||
if (Diag.hasErrorOccurred())
|
||||
return IncrementalParser::kFailed;
|
||||
|
@ -1,5 +1,4 @@
|
||||
// RUN: cat %s | %cling | FileCheck %s
|
||||
// XFAIL:*
|
||||
|
||||
// Test whether the interpreter is able to generate properly the symbols
|
||||
// and the vtables of classes.
|
||||
|
Loading…
x
Reference in New Issue
Block a user