diff options
author | Mehdi Amini <joker.eph@gmail.com> | 2021-03-08 06:06:37 +0000 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2021-03-09 19:43:45 +0000 |
commit | 79f736c150c5a533f836727cb247a72f9ad96096 (patch) | |
tree | 089acfbd67c23b9088ccf48d019a0a0c2333e0a7 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8205c1a90a4e0c8d4578eb83fcdf7baa9f276ac6 (diff) | |
download | llvm-79f736c150c5a533f836727cb247a72f9ad96096.zip llvm-79f736c150c5a533f836727cb247a72f9ad96096.tar.gz llvm-79f736c150c5a533f836727cb247a72f9ad96096.tar.bz2 |
Switch generatedTypeParser/generatedAttributeParser to return an OptionalParseResult
This allows the caller to distinguish between a parse error or an
unmatched keyword. It fixes the redundant error that was emitted by the
caller when the generated parser would fail.
Differential Revision: https://reviews.llvm.org/D98162
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions