[PATCH] Allow a header to be part of multiple modules

Daniel Jasper djasper at google.com
Mon Oct 21 01:50:58 PDT 2013


djasper added you to the CC list for the revision "Allow a header to be part of multiple modules".

Hi doug.gregor, rsmith, klimek,

This patch changes two things:
a) Allow a header to be part of multiple modules (discussed offline with Richard)
b) Allow modules to be stored in a directory tree separate from the headers they describe.

This is as much a patch as it is a question on what you think about the general direction.

http://llvm-reviews.chandlerc.com/D1951

Files:
  include/clang/Lex/ModuleMap.h
  include/clang/Lex/Preprocessor.h
  lib/Lex/HeaderSearch.cpp
  lib/Lex/ModuleMap.cpp
  lib/Lex/PPDirectives.cpp
  test/Modules/Inputs/modular_maps/common.h
  test/Modules/Inputs/modular_maps/modulea.map
  test/Modules/Inputs/modular_maps/moduleb.map
  test/Modules/Inputs/separate_map_tree/maps/modulea.map
  test/Modules/Inputs/separate_map_tree/maps/moduleb.map
  test/Modules/Inputs/separate_map_tree/maps/modulec.map
  test/Modules/Inputs/separate_map_tree/src/common.h
  test/Modules/Inputs/separate_map_tree/src/private-in-c.h
  test/Modules/Inputs/separate_map_tree/src/public-in-b.h
  test/Modules/Inputs/separate_map_tree/src/public-in-c.h
  test/Modules/modular_maps.cpp
  test/Modules/separate_map_tree.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1951.1.patch
Type: text/x-patch
Size: 17958 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131021/19fff517/attachment.bin>


More information about the cfe-commits mailing list