[clang] [BoundsSafety] Support bounds-safety attributes in type positions (PR #179612)

Yeoul Na via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 23 16:02:03 PDT 2026


rapidsna wrote:

CI failure: I should handle `LateParsedAttr` in `lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp`.

/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:4088:11: error: enumeration value 'LateParsedAttr' not handled in switch [-Werror,-Wswitch]
   4088 |   switch (qual_type->getTypeClass()) {
        |           ^~~~~~~~~~~~~~~~~~~~~~~~~
  /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:4791:11: error: enumeration value 'LateParsedAttr' not handled in switch [-Werror,-Wswitch]
   4791 |   switch (qual_type->getTypeClass()) {
        |           ^~~~~~~~~~~~~~~~~~~~~~~~~
  /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:5093:11: error: enumeration value 'LateParsedAttr' not handled in switch [-Werror,-Wswitch]
   5093 |   switch (qual_type->getTypeClass()) {
        |           ^~~~~~~~~~~~~~~~~~~~~~~~~
  3 errors generated.

https://github.com/llvm/llvm-project/pull/179612


More information about the cfe-commits mailing list