diff options
author | Chris Lattner <clattner@nondot.org> | 2021-01-10 18:32:57 -0800 |
---|---|---|
committer | Chris Lattner <clattner@nondot.org> | 2021-01-10 21:18:01 -0800 |
commit | dcac2da10632c83737fce6da60fbc4dd09c01034 (patch) | |
tree | 3774cfaafce04dc12ffd5e56063cfbfd68d5c167 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | ffa67873a3f93a6baa0046221edd08a90b0db6f8 (diff) | |
download | llvm-dcac2da10632c83737fce6da60fbc4dd09c01034.zip llvm-dcac2da10632c83737fce6da60fbc4dd09c01034.tar.gz llvm-dcac2da10632c83737fce6da60fbc4dd09c01034.tar.bz2 |
[IR Parser] Fix a crash handling zero width integer attributes.
llvm::APInt cannot hold zero bit values, therefore we shouldn't try
to form them.
Differential Revision: https://reviews.llvm.org/D94384
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions