]> granicus.if.org Git - clang/commit
Retain the source location of the constructor when building an implicit member
authorChandler Carruth <chandlerc@gmail.com>
Tue, 29 Jun 2010 23:50:44 +0000 (23:50 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 29 Jun 2010 23:50:44 +0000 (23:50 +0000)
commitf186b54cc68e13a819736a54bc11d37179029154
tree895a432c727ba8406518f1fbed59b866c279697f
parentacb0bd85d30ecacbe872ca9d9cfac5d7b6038a43
Retain the source location of the constructor when building an implicit member
initialization. I tried several ideas but couldn't come up with a test case for
this that didn't rely on a Clang bug to report a diagnostic after template
instantiation of the constructor due to the implicit initializers. Suggestions
welcome. This fixes the source location aspect of PR7402.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107226 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp