bruno added a comment.
> Yes the wrapper is definitely problematic. I'm checking how the diagnostic > itself is handled correctly and start from there when I have time. For now > would it be better to separate this into multiple patches and get the > diagnostic improvement in first? Yep, that would be better! ================ Comment at: clang/test/Modules/Inputs/incomplete-umbrella/normal-module/Umbrella.h:1-3 +// Umbrella.h +// CHECK: #import "A1.h" +// CHECK: #import "A2.h" ---------------- zixuw wrote: > > What about `CHECK`s for the introduced fix-its? I don't see a `#include` or > > `#import` being matched in the tests. > > Is this the check you're looking for? It is checked in > `incomplete-umbrella-fixit.m`: > ``` > RUN: %clang_cc1 -fmodules -fmodule-map-file=%t/module.modulemap > -fmodules-cache-path=%t -Wno-everything -Wincomplete-umbrella -fixit %s && > FileCheck %t/Umbrella.h --input-file %t/Umbrella.h --match-full-lines > ``` Oh, right. my bad! Can we get a test for `#include` too? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D82118/new/ https://reviews.llvm.org/D82118 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits