diff options
author | Henrik G. Olsson <hnrklssn@gmail.com> | 2025-10-09 22:13:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-09 22:13:37 -0700 |
commit | 3a9440b9f73b5b85917cff123ba0ce7f2e8115c4 (patch) | |
tree | 6530328cac2ab8c175152968c8730495659771a6 /llvm/test/tools/llvm-reduce/reduce-functions-blockaddress-wrong-function.ll | |
parent | a1b5e975c92a2f425817e321648036b386fc6b03 (diff) | |
download | llvm-3a9440b9f73b5b85917cff123ba0ce7f2e8115c4.zip llvm-3a9440b9f73b5b85917cff123ba0ce7f2e8115c4.tar.gz llvm-3a9440b9f73b5b85917cff123ba0ce7f2e8115c4.tar.bz2 |
[Sema] Keep attribute lists in the order the attributes were parsed (#162714)
This renames some attribute list related functions, to make callers
think about whether they want to append or prepend to the list, instead
of defaulting to prepending which is often not the desired behaviour
(for the cases where it matters, sometimes we're just adding to an empty
list). Then it adjusts some of these calls to append where they were
previously prepending. This has the effect of making
`err_attributes_are_not_compatible` consistent in emitting diagnostics
as `<new-attr> and <existing-attr> are not compatible`, regardless of
the syntax used to apply the attributes.
Diffstat (limited to 'llvm/test/tools/llvm-reduce/reduce-functions-blockaddress-wrong-function.ll')
0 files changed, 0 insertions, 0 deletions