aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorAmy Huang <akhuang@google.com>2020-04-13 11:06:37 -0700
committerAmy Huang <akhuang@google.com>2020-04-16 12:08:52 -0700
commit2b8c6acc3990872800d908b0ddf69229b21db1de (patch)
tree310b9f9332bce2544b49f55232d4810d51c19357 /llvm/utils/FileCheck/FileCheck.cpp
parent548d501082cc638e4d1cfd8ae6afdbecb067ef5a (diff)
downloadllvm-2b8c6acc3990872800d908b0ddf69229b21db1de.zip
llvm-2b8c6acc3990872800d908b0ddf69229b21db1de.tar.gz
llvm-2b8c6acc3990872800d908b0ddf69229b21db1de.tar.bz2
Reland "[codeview] Reference types in type parent scopes"
Summary: Original description (https://reviews.llvm/org/D69924) Without this change, when a nested tag type of any kind (enum, class, struct, union) is used as a variable type, it is emitted without emitting the parent type. In CodeView, parent types point to their inner types, and inner types do not point back to their parents. We already walk over all of the parent scopes to build the fully qualified name. This change simply requests their type indices as we go along to enusre they are all emitted. Now, while walking over the parent scopes, add the types to DeferredCompleteTypes, since they might already be in the process of being emitted. Fixes PR43905 Reviewers: rnk, amccarth Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D78249
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions