ITADN

[BoundsSafety] Unify ParseLexedCAttribute into ParseLexedAttribute

#12436Openrapidsna 创建于 2026-02-24
clang:bounds-safety
R
rapidsnacommented
ParseLexedCAttribute was copied from ParseLexedAttribute primarily to handle C code. Ideally, these should be unified into a single ParseLexedAttribute function. This is tracked upstream in https://github.com/llvm/llvm-project/issues/93263; however, the change should first be made in swiftlang, which contains the full -fbounds-safety implementation, to ensure compatibility with logic not yet present upstream. Once validated, the change can then be upstreamed to llvm/llvm-project.
1 条评论