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

Side by Side Diff: tools/clang/BindMigrate/BindMigrateOptions.h

Issue 7886056: Clang plugin that rewrites PostTask(_, NewRunnableMethod(...)) to PostTask(_, base::Bind(...)); (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix lifetime issue where BindMigrateAction is deleted before the ASTConsumer is finished. Created 9 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/clang/BindMigrate/BindMigrateConsumer.cpp ('k') | tools/clang/BindMigrate/CMakeLists.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2011 Google Inc. All Rights Reserved.
2 // Author: ajwong@google.com (Albert Wong)
3
4 #ifndef BIND_MIGRATE_OPTIONS_H_
5 #define BIND_MIGRATE_OPTIONS_H_
6
7 #include <string>
8 #include <vector>
9
10 namespace clang {
11
12 struct BindMigrateOptions {
13 BindMigrateOptions()
14 : mode("transform"),
15 out_dir("/tmp/clang.out") {
16 }
17 std::vector<std::string> only_types;
18 std::vector<std::string> only_path_prefix;
19 std::vector<std::string> ignore_path_prefix;
20 std::string mode;
21 std::string out_dir;
22 };
23
24 } // namespace clang
25
26 #endif // BIND_MIGRATE_OPTIONS_H_
OLDNEW
« no previous file with comments | « tools/clang/BindMigrate/BindMigrateConsumer.cpp ('k') | tools/clang/BindMigrate/CMakeLists.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698