[PATCH] D15470: Preserve source location in namespaced base ctor initializers

2015-12-11 Thread Shahms King via cfe-commits
shahms created this revision. shahms added a subscriber: cfe-commits. Resolved a FIXME to preserve source location in qualified base initializers. This patch preserves location information for constructs such as: namespace ns1 { struct Base {}; struct Derived : Base { Derived() : ns1::Base

Re: [PATCH] D15470: Preserve source location in namespaced base ctor initializers

2015-12-12 Thread Shahms King via cfe-commits
shahms updated this revision to Diff 42608. shahms added a comment. Address comments and add CHECK for TypeRef as well http://reviews.llvm.org/D15470 Files: lib/Sema/SemaDeclCXX.cpp test/Index/namespaced-base-ctor-init.cpp Index: test/Index/namespaced-base-ctor-init.cpp ===

Re: [PATCH] D15470: Preserve source location in namespaced base ctor initializers

2015-12-12 Thread Shahms King via cfe-commits
shahms marked 2 inline comments as done. shahms added a comment. Thanks for taking a look at this so quickly. I've updated the test to make sure the TypeRef is correct as well, in light of the changes here. http://reviews.llvm.org/D15470 ___ cfe-c