]> granicus.if.org Git - clang/commit
Pass the current SourceLocation to getAssignOperatorMethod, fixing a crash when the...
authorAnders Carlsson <andersca@mac.com>
Wed, 9 Dec 2009 03:01:51 +0000 (03:01 +0000)
committerAnders Carlsson <andersca@mac.com>
Wed, 9 Dec 2009 03:01:51 +0000 (03:01 +0000)
commitb6cc91be4da4f55c7e3dca87ecfdb532b33c83ca
tree2464c7a7cd676c431220df9f65891499ce5cb050
parent17f4da8f150f6b9dfb571cebd6299b06948e5385
Pass the current SourceLocation to getAssignOperatorMethod, fixing a crash when the assign operator method needs to be instantiated. Doug, please review the updated default-assignment-operator.cpp change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90935 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/Sema.h
lib/Sema/SemaDeclCXX.cpp
test/SemaCXX/default-assignment-operator.cpp
test/SemaTemplate/instantiate-default-assignment-operator.cpp [new file with mode: 0644]