diff options
author | Greg Clayton <gclayton@apple.com> | 2013-04-18 22:45:39 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2013-04-18 22:45:39 +0000 |
commit | 7b0992d9cd982f4e43ca1bd2c3eaf467e7600cab (patch) | |
tree | 662d44a97baffe8778f555b43203ad0257c71808 /lldb/source/Expression/ClangExpressionParser.cpp | |
parent | 9f7a221fdcaf250db64b441558647384785cde5e (diff) | |
download | bcm5719-llvm-7b0992d9cd982f4e43ca1bd2c3eaf467e7600cab.tar.gz bcm5719-llvm-7b0992d9cd982f4e43ca1bd2c3eaf467e7600cab.zip |
After discussing with Chris Lattner, we require C++11, so lets get rid of the macros and just use C++11.
llvm-svn: 179805
Diffstat (limited to 'lldb/source/Expression/ClangExpressionParser.cpp')
-rw-r--r-- | lldb/source/Expression/ClangExpressionParser.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Expression/ClangExpressionParser.cpp b/lldb/source/Expression/ClangExpressionParser.cpp index 5e4b934822b..431900fbb28 100644 --- a/lldb/source/Expression/ClangExpressionParser.cpp +++ b/lldb/source/Expression/ClangExpressionParser.cpp @@ -352,7 +352,7 @@ ClangExpressionParser::ClangExpressionParser (ExecutionContextScope *exe_scope, m_selector_table.reset(new SelectorTable()); m_builtin_context.reset(new Builtin::Context()); - STD_UNIQUE_PTR(clang::ASTContext) ast_context(new ASTContext(m_compiler->getLangOpts(), + std::unique_ptr<clang::ASTContext> ast_context(new ASTContext(m_compiler->getLangOpts(), m_compiler->getSourceManager(), &m_compiler->getTarget(), m_compiler->getPreprocessor().getIdentifierTable(), @@ -463,7 +463,7 @@ static bool FindFunctionInModule (ConstString &mangled_name, Error ClangExpressionParser::PrepareForExecution (lldb::addr_t &func_addr, lldb::addr_t &func_end, - STD_UNIQUE_PTR(IRExecutionUnit) &execution_unit_ap, + std::unique_ptr<IRExecutionUnit> &execution_unit_ap, ExecutionContext &exe_ctx, bool &can_interpret, ExecutionPolicy execution_policy) @@ -472,11 +472,11 @@ ClangExpressionParser::PrepareForExecution (lldb::addr_t &func_addr, func_end = LLDB_INVALID_ADDRESS; Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_EXPRESSIONS)); - STD_UNIQUE_PTR(llvm::ExecutionEngine) execution_engine_ap; + std::unique_ptr<llvm::ExecutionEngine> execution_engine_ap; Error err; - STD_UNIQUE_PTR(llvm::Module) module_ap (m_code_generator->ReleaseModule()); + std::unique_ptr<llvm::Module> module_ap (m_code_generator->ReleaseModule()); if (!module_ap.get()) { |