[PATCH] D22270: [ASTImporter] Properly report the locations of anonymous structs declared as part of named fields
Sean Callanan via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 13 18:16:45 PDT 2016
spyffe updated this revision to Diff 63894.
spyffe added a comment.
Applied Manman's changes:
- `const auto*` instead of `const RecordType*`
- kept the if's separate because I...
- ...moved the `Index++` and `continue` in so that we only increment the counter when we're really dealing with something untagged
- changed the function name to `findUntaggedStructOrUnionIndex`
Repository:
rL LLVM
http://reviews.llvm.org/D22270
Files:
lib/AST/ASTImporter.cpp
test/ASTMerge/Inputs/anonymous-fields1.cpp
test/ASTMerge/Inputs/anonymous-fields2.cpp
test/ASTMerge/anonymous-fields.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22270.63894.patch
Type: text/x-patch
Size: 3789 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160714/2302812b/attachment-0001.bin>
More information about the cfe-commits
mailing list