[flang] Don't add a source range to a type instantiation's scope
A type instantiation's scope doesn't require a source range, as we don't need/want it to be the result of SemanticsContext::FindScope(), and adding the original type's source range to the scope of one of its instantiations has the side effect of expanding the source range of all of its parents to include the original type definition, which breaks FindScope() for any scope including a type instantiation. Differential Revision: https://reviews.llvm.org/D144129
Loading
Please sign in to comment