Skip to content
Commit ae50c56d authored by Richard Smith's avatar Richard Smith
Browse files

[modules] When reparenting a local declaration, don't mark the declaration as

being visible with its owning module if we're not tracking owning modules for
local declarations.

This avoids the possibility of a declaration being (meaninglessly) marked as
hidden with no owning module, which would otherwise lead to violated AST
invariants (checked by the added assertion).

llvm-svn: 303699
parent 9017ca29
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment