[PATCH] D93483: Add element-type to the Vector TypeLoc types.
    Erich Keane via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Thu Dec 17 12:15:08 PST 2020
    
    
  
erichkeane created this revision.
erichkeane added reviewers: fhahn, rjmccall.
erichkeane requested review of this revision.
As shown by bug 48540, GCC vector types would cause a crash when the
declaration hada ParenType. This was because the walking of the
declaration would try to expand the 'inner' type, but there was no
ability to get it from the vector type.  This patch adds that element
type access to the vector type loc objects.
https://reviews.llvm.org/D93483
Files:
  clang/include/clang/AST/TypeLoc.h
  clang/lib/Sema/SemaType.cpp
  clang/lib/Sema/TreeTransform.h
  clang/test/SemaCXX/vector.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93483.312582.patch
Type: text/x-patch
Size: 7029 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201217/aa2a8223/attachment.bin>
    
    
More information about the cfe-commits
mailing list