[all-commits] [llvm/llvm-project] 041284: [lld] Fix -Wstring-conversion in ObjC.cpp (NFC)
Jie Fu (傅杰) via All-commits
all-commits at lists.llvm.org
Tue Mar 19 19:08:13 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0412840ef877b0b4efe117f0328ac57fc669a871
https://github.com/llvm/llvm-project/commit/0412840ef877b0b4efe117f0328ac57fc669a871
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-03-20 (Wed, 20 Mar 2024)
Changed paths:
M lld/MachO/ObjC.cpp
Log Message:
-----------
[lld] Fix -Wstring-conversion in ObjC.cpp (NFC)
llvm-project/lld/MachO/ObjC.cpp:617:12:
error: implicit conversion turns string literal into bool: 'const char[55]' to 'bool' [-Werror,-Wstring-conversion]
617 | assert("Tried to read pointer list beyond protocol section end");
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list