[all-commits] [llvm/llvm-project] 48498e: [-Wunsafe-buffer-usage] Fix a bug in "Re-land [-Wu...
Ziqing Luo via All-commits
all-commits at lists.llvm.org
Mon Sep 16 17:25:03 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 48498ec7a4ded9f1bf813051abdc54c3e5b66fa7
https://github.com/llvm/llvm-project/commit/48498ec7a4ded9f1bf813051abdc54c3e5b66fa7
Author: ziqingluo-90 <ziqing_luo at apple.com>
Date: 2024-09-16 (Mon, 16 Sep 2024)
Changed paths:
M clang/lib/Analysis/UnsafeBufferUsage.cpp
M clang/test/SemaCXX/warn-unsafe-buffer-usage-libc-functions.cpp
Log Message:
-----------
[-Wunsafe-buffer-usage] Fix a bug in "Re-land [-Wunsafe-buffer-usage] Warning Libc functions (#101583)"
StringLiteral::getString() is not applicable to strings of wide
characters. Added handling for that.
(rdar://117182250)
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