[all-commits] [llvm/llvm-project] 9be33d: [clang-tidy]`pro-bounds-array-to-pointer-decay` ig...
Congcong Cai via All-commits
all-commits at lists.llvm.org
Fri Aug 18 17:13:18 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9be33de4f39713c2deb7cc262b4dd4e50dc8349d
https://github.com/llvm/llvm-project/commit/9be33de4f39713c2deb7cc262b4dd4e50dc8349d
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2023-08-19 (Sat, 19 Aug 2023)
Changed paths:
M clang-tools-extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/pro-bounds-array-to-pointer-decay.cpp
Log Message:
-----------
[clang-tidy]`pro-bounds-array-to-pointer-decay` ignore predefined expression
cast PredefinedExpr such as `__func__` to const char* should be accpetted.
Reviewed By: PiotrZSL
Differential Revision: https://reviews.llvm.org/D158244
More information about the All-commits
mailing list