diff options
Diffstat (limited to 'clang/include/clang/Tooling/Tooling.h')
-rw-r--r-- | clang/include/clang/Tooling/Tooling.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/include/clang/Tooling/Tooling.h b/clang/include/clang/Tooling/Tooling.h index ea3b0e04214..8ddfef37074 100644 --- a/clang/include/clang/Tooling/Tooling.h +++ b/clang/include/clang/Tooling/Tooling.h @@ -330,6 +330,9 @@ class ClangTool { /// Runs an action over all files specified in the command line. /// /// \param Action Tool action. + /// + /// \returns 0 on success; 1 if any error occured; 2 if there is no error but + /// some files are skipped due to missing compile commands. int run(ToolAction *Action); /// \brief Create an AST for each file specified in the command line and |