]> granicus.if.org Git - clang/commit
[AST] Fix a crash on invalid.
authorErik Pilkington <erik.pilkington@gmail.com>
Mon, 10 Sep 2018 21:54:04 +0000 (21:54 +0000)
committerErik Pilkington <erik.pilkington@gmail.com>
Mon, 10 Sep 2018 21:54:04 +0000 (21:54 +0000)
commite2195ee646f395f30f79a8124aa7d23eda0dc4f2
tree9dc7946f9db7e3ffb8e9bd31668c760e3e7f5014
parent6fb021633b2feea30712f52290b07d222521614e
[AST] Fix a crash on invalid.

Problem was that we were appending to the source location info buffer in the
copy assignment operator (instead of overwriting).

rdar://42746401

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341869 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/NestedNameSpecifier.cpp
test/SemaCXX/rdar42746401.cpp [new file with mode: 0644]