summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-10-22 08:09:47 +0000
committerDaniel Jasper <djasper@google.com>2013-10-22 08:09:47 +0000
commitc641709607d45bf97772e925647db6c94866c50a (patch)
tree7fcfdd964ed228a5011bd88ef0452fe855bb3984 /lib/CodeGen/CGExpr.cpp
parent588a51a471b4cb23613e8183e05d2d193d2ab813 (diff)
downloadclang-c641709607d45bf97772e925647db6c94866c50a.tar.gz
clang-c641709607d45bf97772e925647db6c94866c50a.tar.bz2
clang-c641709607d45bf97772e925647db6c94866c50a.tar.xz
Allow a header to be part of multiple modules.
This patch changes two things: a) Allow a header to be part of multiple modules. The reasoning is that in existing codebases that have a module-like build system, the same headers might be used in several build targets. Simple reasons might be that they defined different classes that are declared in the same header. Supporting a header as a part of multiple modules will make the transistion easier for those cases. A later step in clang can then determine whether the two modules are actually compatible and can be merged and error out appropriately. The later check is similar to what needs to be done for template specializations anyway. b) Allow modules to be stored in a directory tree separate from the headers they describe. Review: http://llvm-reviews.chandlerc.com/D1951 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193151 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions