build: updated to clang version 3.6

This commit is contained in:
Eberhard Graether
2014-12-12 10:35:01 +01:00
parent 3f4ae8343c
commit 5f20344252
3 changed files with 3 additions and 4 deletions
-1
View File
@@ -35,7 +35,6 @@ set(CLANG_LIBRARIES
clangStaticAnalyzerCore
clangAnalysis
clangRewriteFrontend
clangRewriteCore
clangEdit
clangAST
clangLex
+2 -2
View File
@@ -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));
}
+1 -1
View File
@@ -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;