Looks like this was just a copy & paste mistake from getDependentSizedExtVectorType.
rdar://60092165
| Paths 
 |  Differential  D79012  
[AST] Fix a crash on a dependent vector_size attribute ClosedPublic Authored by erik.pilkington on Apr 28 2020, 8:11 AM. 
Details Summary Looks like this was just a copy & paste mistake from getDependentSizedExtVectorType. rdar://60092165 
Diff Detail 
 Event TimelineHerald added subscribers: ributzka, dexonsmith, jkorous.  ·  View Herald TranscriptApr 28 2020, 8:11 AM This revision is now accepted and ready to land.Apr 28 2020, 9:04 AM Closed by commit rG2bb686b4b629: [AST] Fix a crash on a dependent vector_size attribute (authored by erik.pilkington).  ·  Explain WhyApr 28 2020, 10:12 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 260685 clang/lib/AST/ASTContext.cpp
 
 clang/test/SemaCXX/vector.cpp
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||