1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/unittests/TextAPI
Nathan James 5aeae74b36 [YAML] Use correct source location for unknown key errors.
Currently unknown keys when inputting mapping traits have the location set to the Value.
Example:
```
YAML:1:14: error: unknown key 'UnknownKey'
{UnknownKey: SomeValue}
             ^~~~~~~~~
```
This is unhelpful for a user as it draws them to fix the wrong item.

Reviewed By: silvas

Differential Revision: https://reviews.llvm.org/D93037
2020-12-11 16:34:06 +00:00
..
CMakeLists.txt [elfabi] Move llvm-elfabi related code to InterfaceStub library 2020-08-13 11:51:44 -07:00
TextStubHelpers.h [TextAPI] clean up auto usages in tests, NFC 2020-09-21 08:39:40 -07:00
TextStubV1Tests.cpp [YAML] Use correct source location for unknown key errors. 2020-12-11 16:34:06 +00:00
TextStubV2Tests.cpp [YAML] Use correct source location for unknown key errors. 2020-12-11 16:34:06 +00:00
TextStubV3Tests.cpp [YAML] Use correct source location for unknown key errors. 2020-12-11 16:34:06 +00:00
TextStubV4Tests.cpp [YAML] Use correct source location for unknown key errors. 2020-12-11 16:34:06 +00:00