diff options
author | Artem Belevich <tra@google.com> | 2018-01-17 19:29:39 +0000 |
---|---|---|
committer | Artem Belevich <tra@google.com> | 2018-01-17 19:29:39 +0000 |
commit | 224879ea4757bf758c0e0bcd2a2e5a6ec71be0f3 (patch) | |
tree | 00dfdfaafb3de018939dec6e5af8c78d0b07c2aa /llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp | |
parent | 9f3fe42e19e693c59295abeb5a1d9463140ccaae (diff) | |
download | bcm5719-llvm-224879ea4757bf758c0e0bcd2a2e5a6ec71be0f3.tar.gz bcm5719-llvm-224879ea4757bf758c0e0bcd2a2e5a6ec71be0f3.zip |
[DeclPrinter] Fix two cases that crash clang -ast-print.
Both are related to handling anonymous structures.
* clang didn't handle () around an anonymous struct variable.
* clang also crashed on syntax errors that could lead to other
syntactic constructs following the declaration of an
anonymous struct. While the code is invalid, that's not
a good reason to panic compiler.
Differential Revision: https://reviews.llvm.org/D41788
llvm-svn: 322742
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp')
0 files changed, 0 insertions, 0 deletions