[PATCH] D103930: [clang][HeaderSearch] Fix implicit module when using header maps
Andrew Gallagher via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 8 18:57:53 PDT 2021
andrewjcg added inline comments.
================
Comment at: clang/test/Modules/implicit-module-header-maps.cpp:27
+#define FOO
+#include "Before/Mapping.h"
----------------
This include will fail if modules weren't used.
The include name itself doesn't exist and relies on the header map to remap it to the real header.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103930/new/
https://reviews.llvm.org/D103930
More information about the cfe-commits
mailing list