r312766 - Update for llvm change.

Daniel Jasper via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 7 23:10:11 PDT 2017


Hi Rafael,

could you write slightly more extensive commit messages? This really
doesn't say anything..

Thank you,
Daniel

On Fri, Sep 8, 2017 at 2:01 AM, Rafael Espindola via cfe-commits <
cfe-commits at lists.llvm.org> wrote:

> Author: rafael
> Date: Thu Sep  7 17:01:26 2017
> New Revision: 312766
>
> URL: http://llvm.org/viewvc/llvm-project?rev=312766&view=rev
> Log:
> Update for llvm change.
>
> Modified:
>     cfe/trunk/tools/clang-format/ClangFormat.cpp
>     cfe/trunk/tools/clang-offload-bundler/ClangOffloadBundler.cpp
>
> Modified: cfe/trunk/tools/clang-format/ClangFormat.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-
> format/ClangFormat.cpp?rev=312766&r1=312765&r2=312766&view=diff
> ============================================================
> ==================
> --- cfe/trunk/tools/clang-format/ClangFormat.cpp (original)
> +++ cfe/trunk/tools/clang-format/ClangFormat.cpp Thu Sep  7 17:01:26 2017
> @@ -351,8 +351,10 @@ int main(int argc, const char **argv) {
>        "together with <file>s, the files are edited in-place. Otherwise,
> the\n"
>        "result is written to the standard output.\n");
>
> -  if (Help)
> +  if (Help) {
>      cl::PrintHelpMessage();
> +    return 0;
> +  }
>
>    if (DumpConfig) {
>      llvm::Expected<clang::format::FormatStyle> FormatStyle =
>
> Modified: cfe/trunk/tools/clang-offload-bundler/ClangOffloadBundler.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-
> offload-bundler/ClangOffloadBundler.cpp?rev=312766&r1=312765&r2=312766&
> view=diff
> ============================================================
> ==================
> --- cfe/trunk/tools/clang-offload-bundler/ClangOffloadBundler.cpp
> (original)
> +++ cfe/trunk/tools/clang-offload-bundler/ClangOffloadBundler.cpp Thu
> Sep  7 17:01:26 2017
> @@ -931,8 +931,10 @@ int main(int argc, const char **argv) {
>        "one. The resulting file can also be unbundled into different files
> by \n"
>        "this tool if -unbundle is provided.\n");
>
> -  if (Help)
> +  if (Help) {
>      cl::PrintHelpMessage();
> +    return 0;
> +  }
>
>    bool Error = false;
>    if (Unbundle) {
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170908/348ef355/attachment-0001.html>


More information about the cfe-commits mailing list