forked from OSchip/llvm-project
parent
f01c390d87
commit
07429ffce5
|
@ -2213,8 +2213,8 @@ llvm::DICompositeType CGDebugInfo::CreateLimitedType(const RecordType *Ty) {
|
||||||
unsigned Line = getLineNumber(RD->getLocation());
|
unsigned Line = getLineNumber(RD->getLocation());
|
||||||
StringRef RDName = getClassName(RD);
|
StringRef RDName = getClassName(RD);
|
||||||
|
|
||||||
llvm::DIDescriptor RDContext;
|
llvm::DIDescriptor RDContext =
|
||||||
RDContext = getContextDescriptor(cast<Decl>(RD->getDeclContext()));
|
getContextDescriptor(cast<Decl>(RD->getDeclContext()));
|
||||||
|
|
||||||
// If we ended up creating the type during the context chain construction,
|
// If we ended up creating the type during the context chain construction,
|
||||||
// just return that.
|
// just return that.
|
||||||
|
|
Loading…
Reference in New Issue