diff options
| author | Jacques Pienaar <jpienaar@google.com> | 2025-11-06 15:00:19 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-07 01:00:19 +0200 |
| commit | 8b422006af02766a0e1577108260200944106530 (patch) | |
| tree | e3a362628837b8d536b2a001b53aed11eb9abedb /clang/test/SemaCXX/cxx2b-warn-shadow.cpp | |
| parent | fa83723bbe55f2aee857438f8087c4fc0f52449e (diff) | |
| download | llvm-main.zip llvm-main.tar.gz llvm-main.tar.bz2 | |
This enables printing, for example, the attribute value from a
mismatched predicate. Example of resultant output (here made
non-negative report value seen as sign-extended int):
```
PDL/ops.mlir:21:1: error: 'pdl.pattern' op attribute 'benefit' failed to satisfy constraint: 16-bit signless integer attribute whose value is non-negative (got -31)
pdl.pattern @rewrite_with_args : benefit(-31) {
^
```
This is primarily the mechanism and didn't change any existing
constraints. I also attempted to keep the error format as close to the
original as possible - but did notice 2 errors that were inconsistent
with the rest and updated them to be consistent.
Diffstat (limited to 'clang/test/SemaCXX/cxx2b-warn-shadow.cpp')
0 files changed, 0 insertions, 0 deletions
