[all-commits] [llvm/llvm-project] f78c34: [-Wunsafe-buffer-usage] Create Fix-Its only if the...

Ziqing Luo via All-commits all-commits at lists.llvm.org
Thu Feb 23 14:48:06 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f78c34346635e25919e2777b1b1cbb9627d5ad43
  Author: Ziqing Luo <ziqing at udel.edu>
  Date:   2023-02-23 (Thu, 23 Feb 2023)

  Changed paths:
    M clang/lib/Analysis/UnsafeBufferUsage.cpp
    M clang/lib/Sema/AnalysisBasedWarnings.cpp

  Log Message:
  [-Wunsafe-buffer-usage] Create Fix-Its only if they are emitted

`-Wunsafe-buffer-usage` diagnostics shall not emit fix-its if fix-its
are globally disabled.

Commit on behalf of jkorous (Jan Korous)

Reviewed by: NoQ (Artem Dergachev)

Differential revision: https://reviews.llvm.org/D143697

More information about the All-commits mailing list