[all-commits] [llvm/llvm-project] aca23d: [clang] Fix assertion failure using -MJ with -fsyn...

Ben Langmuir via All-commits all-commits at lists.llvm.org
Wed Aug 30 10:04:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aca23d8ac30d773c1513d1708bdda8149acc075a
      https://github.com/llvm/llvm-project/commit/aca23d8ac30d773c1513d1708bdda8149acc075a
  Author: Ben Langmuir <blangmuir at apple.com>
  Date:   2023-08-30 (Wed, 30 Aug 2023)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/compilation_database.c

  Log Message:
  -----------
  [clang] Fix assertion failure using -MJ with -fsyntax-only

If there is no output filename we should not assert when writing output
for -MJ.

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




More information about the All-commits mailing list