[PATCH] D71586: [clangd] Add a test case that verifies -fimplicit-modules work in Clangd when building the AST

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 16 18:36:03 PST 2019


arphaman created this revision.
arphaman added reviewers: sammccall, jkorous.
Herald added subscribers: usaxena95, ributzka, kadircet, dexonsmith, MaskRay, ilya-biryukov.
Herald added a project: clang.

This patch adds a test case that verifies that `-fmodules -fimplicit-modules` work in Clangd when building the AST for Objective-C sources.

I based it on the test case attached to https://github.com/clangd/clangd/issues/198. I'm still looking into https://github.com/clangd/clangd/issues/198, but it might be unrelated to `-fimplicit-modules` support.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71586

Files:
  clang-tools-extra/clangd/test/Inputs/implicit-modules/MyModule.h
  clang-tools-extra/clangd/test/Inputs/implicit-modules/compile_commands.json
  clang-tools-extra/clangd/test/Inputs/implicit-modules/hdr.h
  clang-tools-extra/clangd/test/Inputs/implicit-modules/implicit-modules.m
  clang-tools-extra/clangd/test/Inputs/implicit-modules/module.modulemap
  clang-tools-extra/clangd/test/Inputs/implicit-modules/open.jsonrpc
  clang-tools-extra/clangd/test/implicit-modules.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71586.234211.patch
Type: text/x-patch
Size: 3808 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191217/ad281354/attachment-0001.bin>


More information about the cfe-commits mailing list