Skip to content
Commit 6fc88757 authored by Adrian Prantl's avatar Adrian Prantl
Browse files

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
parent a369a457
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment