diff options
author | Justin Bogner <mail@justinbogner.com> | 2015-07-10 23:05:47 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2015-07-10 23:05:47 +0000 |
commit | c6ecb7c6938bae8dbd5f5d3adbc665ccc4ff0034 (patch) | |
tree | 31e45a88053e5a3fa65846ea137ed3e3b164f6d7 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h | |
parent | 11e086d275e2c246bd682a244361aa50a5f798f1 (diff) | |
download | bcm5719-llvm-c6ecb7c6938bae8dbd5f5d3adbc665ccc4ff0034.tar.gz bcm5719-llvm-c6ecb7c6938bae8dbd5f5d3adbc665ccc4ff0034.zip |
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
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h')
0 files changed, 0 insertions, 0 deletions