diff options
| author | Graydon Hoare <ghoare@apple.com> | 2016-12-09 21:45:49 +0000 |
|---|---|---|
| committer | Graydon Hoare <ghoare@apple.com> | 2016-12-09 21:45:49 +0000 |
| commit | e7196af07d2a0f74f3e49083ab309a48222e9c3f (patch) | |
| tree | 7c9e9be6a523c0c664ce8f27e408ab06ab20f090 /llvm/docs/CommandGuide | |
| parent | 6c03cfb091c5550e6e4630946498c2271eaa471d (diff) | |
| download | bcm5719-llvm-e7196af07d2a0f74f3e49083ab309a48222e9c3f.tar.gz bcm5719-llvm-e7196af07d2a0f74f3e49083ab309a48222e9c3f.zip | |
[modules] Add optional out-param to ASTReader::ReadAST for imported submodules.
Summary:
The Swift frontend is acquiring the ability to load non-module PCH files containing
bridging definitions from C/ObjC. As part of this work, it needs to know which submodules
were imported by a PCH in order to wrap them in local Swift modules. This information
is collected by ASTReader::ReadAST in a local vector, but is currently kept private.
The change here is just to make the type of the vector elements public, and provide
an optional out-parameter to the ReadAST method to provide the vector's contents to
a caller after a successful read.
Reviewers: manmanren, rsmith, doug.gregor
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D27580
llvm-svn: 289276
Diffstat (limited to 'llvm/docs/CommandGuide')
0 files changed, 0 insertions, 0 deletions

