| commit | c6ecb7c6938bae8dbd5f5d3adbc665ccc4ff0034 | [log] [tgz] |
|---|---|---|
| author | Justin Bogner <mail@justinbogner.com> | Fri Jul 10 23:05:47 2015 +0000 |
| committer | Justin Bogner <mail@justinbogner.com> | Fri Jul 10 23:05:47 2015 +0000 |
| tree | 31e45a88053e5a3fa65846ea137ed3e3b164f6d7 | |
| parent | 11e086d275e2c246bd682a244361aa50a5f798f1 [diff] |
Sema: Allow null names to be passed in to isAcceptableTagRedeclaration It's possible for TagRedeclarations to involve decls without a name, ie, anonymous enums. We hit some undefined behaviour if we bind these null names to the reference here. We never dereference the name, so it's harmless if it's null - make it a pointer to allow that. Fixes the Modules/submodules-merge-defs.cpp test under ubsan. llvm-svn: 241963