[all-commits] [llvm/llvm-project] 8b6ae9: [-Wunsafe-buffer-usage] Emit Fix-Its only for C++2...
jkorous-apple via All-commits
all-commits at lists.llvm.org
Thu Feb 9 17:28:55 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8b6ae9bd7466bd3ceefcd8bd0262b9b085481697
https://github.com/llvm/llvm-project/commit/8b6ae9bd7466bd3ceefcd8bd0262b9b085481697
Author: Jan Korous <jkorous at apple.com>
Date: 2023-02-09 (Thu, 09 Feb 2023)
Changed paths:
M clang/include/clang/Analysis/Analyses/UnsafeBufferUsage.h
M clang/lib/Analysis/UnsafeBufferUsage.cpp
M clang/lib/Sema/AnalysisBasedWarnings.cpp
A clang/test/SemaCXX/warn-unsafe-buffer-usage-no-fixits.cpp
Log Message:
-----------
[-Wunsafe-buffer-usage] Emit Fix-Its only for C++20 and later standards
The transformation strategy we are bringing up heavily relies on std::span which was introduced as part of C++20.
Differential Revision: https://reviews.llvm.org/D143455
More information about the All-commits
mailing list