[all-commits] [llvm/llvm-project] fdab9f: [Clang] Check for response file existence prior to...

Serge Pavlov via All-commits all-commits at lists.llvm.org
Thu Nov 3 00:50:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fdab9f1203eea48a7b8e4c55c7ceafc54653797c
      https://github.com/llvm/llvm-project/commit/fdab9f1203eea48a7b8e4c55c7ceafc54653797c
  Author: Serge Pavlov <sepavloff at gmail.com>
  Date:   2022-11-03 (Thu, 03 Nov 2022)

  Changed paths:
    A clang/test/Driver/Inputs/inc-inexistent.rsp
    A clang/test/Driver/response-file-errs.c
    M clang/tools/driver/driver.cpp
    M clang/unittests/Driver/ToolChainTest.cpp
    M llvm/lib/Support/CommandLine.cpp

  Log Message:
  -----------
  [Clang] Check for response file existence prior to check for recursion

As now errors in file operation are handled, check for file existence
must be done prior to check for recursion, otherwise reported errors are
misleading.

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




More information about the All-commits mailing list