Tweak for lldb coding style consistency.

llvm-svn: 212575
This commit is contained in:
Jason Molenda 2014-07-08 23:46:39 +00:00
parent 3c68ee95ca
commit 45938b96ee
1 changed files with 2 additions and 1 deletions

View File

@ -499,7 +499,8 @@ ClangASTContext::getDiagnosticConsumer()
return m_diagnostic_consumer_ap.get();
}
std::shared_ptr<TargetOptions> &ClangASTContext::getTargetOptions() {
std::shared_ptr<TargetOptions> &
ClangASTContext::getTargetOptions() {
if (m_target_options_rp.get() == nullptr && !m_target_triple.empty())
{
m_target_options_rp = std::make_shared<TargetOptions>();