aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Timer.cpp
diff options
context:
space:
mode:
authorOleksandr T. <oleksandr.tarasiuk@outlook.com>2025-09-30 02:16:01 +0300
committerGitHub <noreply@github.com>2025-09-30 02:16:01 +0300
commit7166bc7dbf299b92de193424edfb8d1841fd1ea0 (patch)
tree61b04ba1ddccc9c55ee4bfaf94eb5b19086869eb /llvm/lib/Support/Timer.cpp
parent1d614a9702973aa9b099a61a6a5992c1de1d8de1 (diff)
downloadllvm-7166bc7dbf299b92de193424edfb8d1841fd1ea0.zip
llvm-7166bc7dbf299b92de193424edfb8d1841fd1ea0.tar.gz
llvm-7166bc7dbf299b92de193424edfb8d1841fd1ea0.tar.bz2
[Clang] Avoid null deref in lambda attribute compat warning (#161096)
Fixes #161070 --- This PR addresses the issue in `ext_decl_attrs_on_lambda` by using `%0`=_attribute name_ and `%1`=_selector_, which prevents a null `IdentifierInfo*`. https://github.com/llvm/llvm-project/blob/48a6f2f85c8269d8326c185016801a4eb8d5dfd6/clang/lib/Parse/ParseExprCXX.cpp#L1299-L1302 https://github.com/llvm/llvm-project/blob/48a6f2f85c8269d8326c185016801a4eb8d5dfd6/clang/include/clang/Basic/DiagnosticParseKinds.td#L1143-L1145 https://github.com/llvm/llvm-project/blob/48a6f2f85c8269d8326c185016801a4eb8d5dfd6/clang/include/clang/Basic/DiagnosticParseKinds.td#L1149-L1152
Diffstat (limited to 'llvm/lib/Support/Timer.cpp')
0 files changed, 0 insertions, 0 deletions