[PATCH] D39886: [ASTImporter] Fix wrong conflict detections for unnamed structures

Takafumi Kubota via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 19 01:45:25 PST 2017


tk1012 added inline comments.


================
Comment at: lib/AST/ASTImporter.cpp:1665
           // they occur in the same location in the context records.
           if (Optional<unsigned> Index1 =
                   StructuralEquivalenceContext::findUntaggedStructOrUnionIndex(
----------------
Anonymous structs/unions are checked here.


https://reviews.llvm.org/D39886





More information about the cfe-commits mailing list