Index: tools/clang/plugins/FindBadConstructsAction.h |
diff --git a/tools/clang/plugins/FindBadConstructsAction.h b/tools/clang/plugins/FindBadConstructsAction.h |
index 383db84206d41d5b9a1f5aa1a6fc0c698ac0ef53..887d339cca7bdbcc077bd318c579ec44e430c570 100644 |
--- a/tools/clang/plugins/FindBadConstructsAction.h |
+++ b/tools/clang/plugins/FindBadConstructsAction.h |
@@ -17,7 +17,7 @@ class FindBadConstructsAction : public clang::PluginASTAction { |
protected: |
// Overridden from PluginASTAction: |
- virtual std::unique_ptr<clang::ASTConsumer> CreateASTConsumer( |
+ virtual clang::ASTConsumer* CreateASTConsumer( |
clang::CompilerInstance& instance, |
llvm::StringRef ref); |
virtual bool ParseArgs(const clang::CompilerInstance& instance, |