aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/BinaryStreamTest.cpp
diff options
context:
space:
mode:
authorEllis Hoag <ellis.sparky.hoag@gmail.com>2022-01-02 18:02:08 -0800
committerEllis Hoag <ellis.sparky.hoag@gmail.com>2022-01-02 18:03:42 -0800
commite27b5f9371382952eb5482ad151bb6fcb4cd0d7c (patch)
treeb55dc0c7d7d83ba6577d7b6088323f070b58cd90 /llvm/unittests/Support/BinaryStreamTest.cpp
parent1a0a177965e88d61b5d3cd3e7f7f89011f0827c1 (diff)
downloadllvm-e27b5f9371382952eb5482ad151bb6fcb4cd0d7c.zip
llvm-e27b5f9371382952eb5482ad151bb6fcb4cd0d7c.tar.gz
llvm-e27b5f9371382952eb5482ad151bb6fcb4cd0d7c.tar.bz2
[clang][AST] Fix crash when printing error
Clang will crash if it tries to compile the following code. This commit fixes it. ``` $ cat foo.c void foo(_Nullable int *ptr) { __auto_type _Nonnull a = ptr; }; $ clang foo.c -c -Wnullable-to-nonnull-conversion ``` Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D116342
Diffstat (limited to 'llvm/unittests/Support/BinaryStreamTest.cpp')
0 files changed, 0 insertions, 0 deletions