1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +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
TextStubHelpers.h
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