[PATCH] D159016: [clang] Fix assertion failure using -MJ with -fsyntax-only

Ben Langmuir via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 30 10:09:20 PDT 2023


benlangmuir added inline comments.


================
Comment at: clang/test/Driver/compilation_database_fsyntax_only.c:1
+// RUN: mkdir -p %t.workdir && cd %t.workdir
+// RUN: %clang -fsyntax-only %s -MJ - 2>&1 | FileCheck %s
----------------
MaskRay wrote:
> The test can be added into `compilation_database.c`.
Done, thanks!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D159016/new/

https://reviews.llvm.org/D159016



More information about the cfe-commits mailing list