[all-commits] [llvm/llvm-project] bff6d9: [clang][cli] Report result of ParseLangArgs

Jan Svoboda via All-commits all-commits at lists.llvm.org
Mon Feb 8 00:56:56 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bff6d9bb0f6d382d1d1826e997a6104bbe5ade73
      https://github.com/llvm/llvm-project/commit/bff6d9bb0f6d382d1d1826e997a6104bbe5ade73
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2021-02-08 (Mon, 08 Feb 2021)

  Changed paths:
    M clang/include/clang/Basic/Diagnostic.h
    M clang/include/clang/Frontend/CompilerInvocation.h
    M clang/lib/Frontend/CompilerInvocation.cpp

  Log Message:
  -----------
  [clang][cli] Report result of ParseLangArgs

This patch correctly reports success/failure of `ParseLangArgs`. Besides being consistent with  other `Parse` functions, this is required to make round-tripping of `LangOptions` work.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D95792




More information about the All-commits mailing list