[PATCH] D82118: [clang][module] Improve incomplete-umbrella warning

Zixu Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 18 12:34:34 PDT 2020


zixuw created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

- Upstream methods for action wrappers in generating modules;
- Change the warning message for -Wincomplete-umbrella to report the location of the umbrella header;
- Add a fix-it hint to include uncovered headers in the umbrella header.

rdar://57095551


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82118

Files:
  clang/include/clang/Frontend/CompilerInstance.h
  clang/include/clang/Rewrite/Frontend/FrontendActions.h
  clang/lib/Frontend/CompilerInstance.cpp
  clang/lib/Frontend/Rewrite/FrontendActions.cpp
  clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
  clang/lib/Lex/PPLexerChange.cpp
  clang/test/Modules/Inputs/incomplete-umbrella/normal-module/A1.h
  clang/test/Modules/Inputs/incomplete-umbrella/normal-module/A2.h
  clang/test/Modules/Inputs/incomplete-umbrella/normal-module/Umbrella.h
  clang/test/Modules/Inputs/incomplete-umbrella/normal-module/module.modulemap
  clang/test/Modules/incomplete-umbrella-fixit.m
  clang/test/Modules/incomplete-umbrella.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82118.271810.patch
Type: text/x-patch
Size: 11382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200618/c8241293/attachment.bin>


More information about the cfe-commits mailing list