diff options
author | Adam Czachorowski <adamcz@google.com> | 2020-08-14 16:37:34 +0200 |
---|---|---|
committer | Adam Czachorowski <adamcz@google.com> | 2020-08-20 14:19:52 +0200 |
commit | baeff989b050e0f63412c52c1b8f9d8f3e91f671 (patch) | |
tree | ed130aa8c19cf2584251b3c9ce6fb43ae663d15b /clang/unittests/Tooling/Syntax/BuildTreeTest.cpp | |
parent | 53b9199a5cdba8a6e294e1fb183f308ec558db22 (diff) | |
download | llvm-baeff989b050e0f63412c52c1b8f9d8f3e91f671.zip llvm-baeff989b050e0f63412c52c1b8f9d8f3e91f671.tar.gz llvm-baeff989b050e0f63412c52c1b8f9d8f3e91f671.tar.bz2 |
[clang] When loading preamble from AST file, re-export modules in Sema.
This addresses a FIXME in ASTReader.
Modules were already re-exported for Preprocessor, but not for Sema.
The result was that, with -fmodules-local-submodule-visibility, all AST
nodes belonging to a module that was loaded in a premable where not
accesible from the main part of the file and a diagnostic recommending
importing those modules would be generated.
Differential Revision: https://reviews.llvm.org/D86069
Diffstat (limited to 'clang/unittests/Tooling/Syntax/BuildTreeTest.cpp')
0 files changed, 0 insertions, 0 deletions