diff options
author | Raphael Isemann <teemperor@gmail.com> | 2019-10-01 09:02:05 +0000 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2019-10-01 09:02:05 +0000 |
commit | cf62871488486c6a76c71a3135af26e82a238822 (patch) | |
tree | f24528b203360a156d52544c6f34bab7ae7bbd44 /lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp | |
parent | f58d01930f6f060bc4dd7f9b1e43a2f24510ba8b (diff) | |
download | bcm5719-llvm-cf62871488486c6a76c71a3135af26e82a238822.tar.gz bcm5719-llvm-cf62871488486c6a76c71a3135af26e82a238822.zip |
[clang][lldb][NFC] Encapsulate ExternalASTMerger::ImporterSource
NFC preparation work for upcoming ExternalASTMerger patches.
llvm-svn: 373312
Diffstat (limited to 'lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp')
-rw-r--r-- | lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp index 9d34f69a7af..b8cab4fdc37 100644 --- a/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp +++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp @@ -84,9 +84,9 @@ void ClangASTSource::InstallASTContext(clang::ASTContext &ast_context, &type_system_or_err.get())) { lldbassert(module_ast_ctx->getASTContext()); lldbassert(module_ast_ctx->getFileManager()); - sources.push_back({*module_ast_ctx->getASTContext(), - *module_ast_ctx->getFileManager(), - module_ast_ctx->GetOriginMap()}); + sources.emplace_back(*module_ast_ctx->getASTContext(), + *module_ast_ctx->getFileManager(), + module_ast_ctx->GetOriginMap()); } } |