[PATCH] D152274: [clang] Don't create import decls without -fmodules

Chuanqi Xu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 6 19:15:09 PDT 2023


ChuanqiXu added inline comments.


================
Comment at: clang/test/Modules/getSourceDescriptor-crash.cpp:2
+// RUN: rm -rf %t
+// RUN: %clang_cc1 -I %S/Inputs/getSourceDescriptor-crash -S -emit-llvm -debug-info-kind=limited -debugger-tuning=lldb -fmodules -fmodules-cache-path=%t -fimplicit-module-maps %s -o - | FileCheck %s
 
----------------
It is better to use `split-file`. You can find the examples by searching in the same dir.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152274



More information about the cfe-commits mailing list