[PATCH] D118150: [clang] Fix serialized diagnostics edge-cases

Jan Svoboda via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 25 08:08:16 PST 2022


jansvoboda11 added inline comments.


================
Comment at: clang/test/Misc/serialized-diags-emit-header-module-misconfig.c:2
+// RUN: rm -rf %t && mkdir %t
+// RUN: not %clang_cc1 -emit-header-module %s -o %t/out.pcm -serialize-diagnostic-file %t/diag 2>&1 | FileCheck %s
+
----------------
This combination of command-line arguments causes `GenerateHeaderModuleAction::PrepareToExecuteAction` to return `false` and `!Act.PrepareToExecute(*this) == true`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118150



More information about the cfe-commits mailing list