[all-commits] [llvm/llvm-project] e22677: Reapply "[clang][cli] Report result of ParseLangArgs"

Jan Svoboda via All-commits all-commits at lists.llvm.org
Mon Feb 8 04:15:26 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e22677bbdbdc725463feaa1aa50f179964ce442b
      https://github.com/llvm/llvm-project/commit/e22677bbdbdc725463feaa1aa50f179964ce442b
  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
    M clang/test/Index/implicit-attrs.m

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

This reverts commit 6039f821 and reapplies bff6d9bb.

Clang's Index/implicit-attrs.m test invokes c-index-test with -fobjc-arc. This flag is not compatible with -fobjc-runtime=gcc, which gets implied on Linux.

The original commit uncovered this by correctly reporting issues when parsing -cc1 command line.

This commit fixes the test to explicitly provide ObjectiveC runtime compatible with ARC.




More information about the All-commits mailing list