aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorTim Keith <tkeith@nvidia.com>2020-06-09 14:14:01 -0700
committerTim Keith <tkeith@nvidia.com>2020-06-09 14:14:03 -0700
commita27d3852095a461b739da534ddc9abfb625f2e06 (patch)
tree656330f8615334f5334526e5bea2b623b26b944a /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent2c0afacada0d1488bc88b1211203ea4fdb0a23e8 (diff)
downloadllvm-a27d3852095a461b739da534ddc9abfb625f2e06.zip
llvm-a27d3852095a461b739da534ddc9abfb625f2e06.tar.gz
llvm-a27d3852095a461b739da534ddc9abfb625f2e06.tar.bz2
[flang] Fix bug resolving type in type definition
When we encountered a type name in a derived type definition, we were sometimes finding a component of that name rather than the type from the enclosing scope. Fix this by introducing `NonDerivedTypeScope()` to start the search in the right scope. Differential Revision: https://reviews.llvm.org/D81493
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions