build: updated to clang version 3.6
This commit is contained in:
@@ -35,7 +35,6 @@ set(CLANG_LIBRARIES
|
||||
clangStaticAnalyzerCore
|
||||
clangAnalysis
|
||||
clangRewriteFrontend
|
||||
clangRewriteCore
|
||||
clangEdit
|
||||
clangAST
|
||||
clangLex
|
||||
|
||||
@@ -9,7 +9,7 @@ ASTAction::~ASTAction()
|
||||
{
|
||||
}
|
||||
|
||||
clang::ASTConsumer* ASTAction::CreateASTConsumer(clang::CompilerInstance& compiler, llvm::StringRef inFile)
|
||||
std::unique_ptr<clang::ASTConsumer> ASTAction::CreateASTConsumer(clang::CompilerInstance& compiler, llvm::StringRef inFile)
|
||||
{
|
||||
return new ASTConsumer(&compiler.getASTContext(), m_client);
|
||||
return std::unique_ptr<clang::ASTConsumer>(new ASTConsumer(&compiler.getASTContext(), m_client));
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ public:
|
||||
explicit ASTAction(ParserClient* client);
|
||||
virtual ~ASTAction();
|
||||
|
||||
virtual clang::ASTConsumer* CreateASTConsumer(clang::CompilerInstance& compiler, llvm::StringRef inFile);
|
||||
virtual std::unique_ptr<clang::ASTConsumer> CreateASTConsumer(clang::CompilerInstance& compiler, llvm::StringRef inFile);
|
||||
|
||||
private:
|
||||
ParserClient* m_client;
|
||||
|
||||
Reference in New Issue
Block a user