[AST] Fix a crash on a dependent vector_size attribute
authorErik Pilkington <erik.pilkington@gmail.com>
Tue, 28 Apr 2020 16:24:54 +0000 (12:24 -0400)
committerErik Pilkington <erik.pilkington@gmail.com>
Tue, 28 Apr 2020 16:54:49 +0000 (12:54 -0400)
commit2bb686b4b629e3565dab239fd53b49f3a882d856
tree158acb3483f0a56cb613ebf2484dbbf7832cb8e9
parentd9786b566b616550bbb6fc329f337623750c667f
[AST] Fix a crash on a dependent vector_size attribute

Looks like this was just a copy & paste mistake from
getDependentSizedExtVectorType. rdar://60092165

Differential revision: https://reviews.llvm.org/D79012
clang/lib/AST/ASTContext.cpp
clang/test/SemaCXX/vector.cpp