Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: tools/clang/plugins/FindBadConstructsAction.cpp

Issue 572413002: Revert "Roll Clang 214024:216630 (+216684) and switch to CMake (try 2)" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/clang/plugins/FindBadConstructsAction.h ('k') | tools/clang/plugins/Makefile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/clang/plugins/FindBadConstructsAction.cpp
diff --git a/tools/clang/plugins/FindBadConstructsAction.cpp b/tools/clang/plugins/FindBadConstructsAction.cpp
index be7a9506a78cd27737bade5303f4c727511d0ab8..838590d7d389ccf631fc0442ef6e2acceb30cdaa 100644
--- a/tools/clang/plugins/FindBadConstructsAction.cpp
+++ b/tools/clang/plugins/FindBadConstructsAction.cpp
@@ -15,10 +15,10 @@ namespace chrome_checker {
FindBadConstructsAction::FindBadConstructsAction() {
}
-std::unique_ptr<ASTConsumer> FindBadConstructsAction::CreateASTConsumer(
+ASTConsumer* FindBadConstructsAction::CreateASTConsumer(
CompilerInstance& instance,
llvm::StringRef ref) {
- return llvm::make_unique<FindBadConstructsConsumer>(instance, options_);
+ return new FindBadConstructsConsumer(instance, options_);
}
bool FindBadConstructsAction::ParseArgs(const CompilerInstance& instance,
« no previous file with comments | « tools/clang/plugins/FindBadConstructsAction.h ('k') | tools/clang/plugins/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698