[Lldb-commits] [lldb] r199408 - Fixed some API drift by making "used" attributes
Sean Callanan
scallanan at apple.com
Thu Jan 16 10:47:07 PST 2014
Author: spyffe
Date: Thu Jan 16 12:47:07 2014
New Revision: 199408
URL: http://llvm.org/viewvc/llvm-project?rev=199408&view=rev
Log:
Fixed some API drift by making "used" attributes
in a better way.
Modified:
lldb/trunk/source/Symbol/ClangASTType.cpp
Modified: lldb/trunk/source/Symbol/ClangASTType.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTType.cpp?rev=199408&r1=199407&r2=199408&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTType.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTType.cpp Thu Jan 16 12:47:07 2014
@@ -4745,7 +4745,7 @@ ClangASTType::AddMethodToCXXRecordType (
cxx_method_decl->setVirtualAsWritten (is_virtual);
if (is_attr_used)
- cxx_method_decl->addAttr(::new (*m_ast) UsedAttr(SourceRange(), *m_ast));
+ cxx_method_decl->addAttr(clang::UsedAttr::CreateImplicit(*m_ast));
// Populate the method decl with parameter decls
More information about the lldb-commits
mailing list