diff options
| author | Alex Lorenz <arphaman@gmail.com> | 2021-10-29 12:59:01 -0700 |
|---|---|---|
| committer | Alex Lorenz <arphaman@gmail.com> | 2021-10-29 13:39:16 -0700 |
| commit | a43d1aa8525649a64b1f0ed5a5c25718c28920c1 (patch) | |
| tree | a27cbf2bfaa7671f59aaec61948ec00079b6c252 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 3b039c68f2c1d9f9a9ee0b370b88ca5647ce647f (diff) | |
[clang] Make 'align-mismatch' warning work without an associated function declaration
This change fixes a crash where a NULL fd was used to emit a diagnostic.
Instead of crashing, just avoid printing the declaration name when there's no
associated function declaration.
Differential Revision: https://reviews.llvm.org/D109402
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
