Fix scope of namespaced DISubprograms when the function definition is out-of-line.
This fixes a regression introduced in r302915. Using the lexical decl context is not necessary here for what r302915 wast trying to achieve. Not canonicalizing the NamespaceDecl in getOrCreateNamespace is suficient. rdar://problem/29339538 llvm-svn: 303222
Loading
Please register or sign in to comment