[all-commits] [llvm/llvm-project] 7a0900: [-Wunsafe-buffer-usage] Remove an unnecessary cons...
Ziqing Luo via All-commits
all-commits at lists.llvm.org
Fri May 12 14:47:56 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7a0900fd3e2d34bc1d513a97cf8fbdc1754252d7
https://github.com/llvm/llvm-project/commit/7a0900fd3e2d34bc1d513a97cf8fbdc1754252d7
Author: ziqingluo-90 <ziqing at udel.edu>
Date: 2023-05-12 (Fri, 12 May 2023)
Changed paths:
M clang/include/clang/Sema/AnalysisBasedWarnings.h
M clang/lib/Sema/AnalysisBasedWarnings.cpp
Log Message:
-----------
[-Wunsafe-buffer-usage] Remove an unnecessary const-qualifier
A follow-up change for 6d861d498de1320d22771c329ec69f9419ef06b7:
remove an unnecessary const-qualifier so that the code doesn't have to
remove the qualifier explicitly using `std::remove_const_t`, which
triggers a warning at some bots (e.g.,
https://lab.llvm.org/buildbot/#/builders/247/builds/4442).
More information about the All-commits
mailing list