summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2019-10-02 01:02:27 +0000
committerJohn McCall <rjmccall@apple.com>2019-10-02 01:02:27 +0000
commitc60a8242056b274182da0b9ef4aa591eb1a97693 (patch)
tree7ac3e77188ec3907f302cb18185ad53b7cf0e918
parentcdfe5efe9b3c2b132b221f5099892c47339d035b (diff)
downloadbcm5719-llvm-c60a8242056b274182da0b9ef4aa591eb1a97693.tar.gz
bcm5719-llvm-c60a8242056b274182da0b9ef4aa591eb1a97693.zip
Remove TypeNodes.def from the modulemap.
We currently just look for files named in the modulemap in its associated source directory. This means that we can't name generated files, like TypeNodes.def now is, which means we can't explicitly mark it as textual. But fortunately that's okay because (as I understand it) the most important purpose of naming the header in the modulemap is to ensure that it's not treated as public, and the search for public headers also only considers files in the associated source directory. This isn't an elegant solution, since among other things it means that a build which wrote the generated files directly into the source directory would result in something that wouldn't build as a module, but that's a problem for all our other generated files as well. llvm-svn: 373416
-rw-r--r--clang/include/clang/module.modulemap1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/include/clang/module.modulemap b/clang/include/clang/module.modulemap
index fc4a2de2f99..f7bf482fbbe 100644
--- a/clang/include/clang/module.modulemap
+++ b/clang/include/clang/module.modulemap
@@ -20,7 +20,6 @@ module Clang_AST {
textual header "AST/BuiltinTypes.def"
textual header "AST/OperationKinds.def"
textual header "AST/TypeLocNodes.def"
- textual header "AST/TypeNodes.def"
module * { export * }
}
OpenPOWER on IntegriCloud