Place the code next to the use. Makes the use-def chain shorter.

This commit is contained in:
Vassil Vassilev 2013-05-23 14:44:52 +02:00 committed by sftnight
parent 09ed3d32da
commit ab8cf4de8e

View File

@ -85,14 +85,14 @@ namespace cling {
if (hasCodeGenerator())
getCodeGenerator()->Initialize(getCI()->getASTContext());
// pull in PCHs
const std::string& PCHFileName
= m_CI->getInvocation ().getPreprocessorOpts().ImplicitPCHInclude;
CompilationOptions CO;
CO.DeclarationExtraction = 0;
CO.ValuePrinting = CompilationOptions::VPDisabled;
CO.CodeGeneration = hasCodeGenerator();
// pull in PCHs
const std::string& PCHFileName
= m_CI->getInvocation ().getPreprocessorOpts().ImplicitPCHInclude;
if (!PCHFileName.empty()) {
Transaction* CurT = beginTransaction(CO);