[all-commits] [llvm/llvm-project] 876ee1: [Bounds Safety][NFC] Add some missing coverage for...

Dan Liew via All-commits all-commits at lists.llvm.org
Thu Aug 8 09:58:09 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 876ee11eeeb2b6a7ccfefea00265b4bfd5f9b6dd
      https://github.com/llvm/llvm-project/commit/876ee11eeeb2b6a7ccfefea00265b4bfd5f9b6dd
  Author: Dan Liew <dan at su-root.co.uk>
  Date:   2024-08-08 (Thu, 08 Aug 2024)

  Changed paths:
    M clang/test/AST/attr-counted-by-or-null-struct-ptrs.c
    M clang/test/AST/attr-counted-by-struct-ptrs.c
    M clang/test/AST/attr-sized-by-or-null-struct-ptrs.c
    M clang/test/AST/attr-sized-by-struct-ptrs.c
    M clang/test/Sema/attr-counted-by-bounds-safety-vlas.c
    M clang/test/Sema/attr-counted-by-or-null-last-field.c
    M clang/test/Sema/attr-counted-by-or-null-struct-ptrs-sizeless-types.c
    M clang/test/Sema/attr-counted-by-or-null-struct-ptrs.c
    M clang/test/Sema/attr-counted-by-or-null-vla-sizeless-types.c
    M clang/test/Sema/attr-counted-by-struct-ptrs-sizeless-types.c
    M clang/test/Sema/attr-counted-by-struct-ptrs.c
    M clang/test/Sema/attr-counted-by-vla-sizeless-types.c
    M clang/test/Sema/attr-counted-by-vla.c
    M clang/test/Sema/attr-sized-by-last-field.c
    M clang/test/Sema/attr-sized-by-or-null-last-field.c
    M clang/test/Sema/attr-sized-by-or-null-struct-ptrs-sizeless-types.c
    M clang/test/Sema/attr-sized-by-or-null-struct-ptrs.c
    M clang/test/Sema/attr-sized-by-or-null-vla-sizeless-types.c
    M clang/test/Sema/attr-sized-by-struct-ptrs-sizeless-types.c
    M clang/test/Sema/attr-sized-by-struct-ptrs.c
    M clang/test/Sema/attr-sized-by-vla-sizeless-types.c

  Log Message:
  -----------
  [Bounds Safety][NFC] Add some missing coverage for `-fexperimental-late-parse-attributes` (#102236)

Previously we weren't properly checking that using
`-fexperimental-late-parse-attributes` worked on source code that didn't
need late parsing.

For example we weren't testing that the attribute appearing in the type
position generated the right AST with
`-fexperimental-late-parse-attributes` off.

This patch adds additional `RUN` lines to re-run the relevant test cases
with `-fexperimental-late-parse-attributes` enabled.

rdar://133325597



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list