diff options
author | LemonBoy <thatlemon@gmail.com> | 2021-04-08 09:57:50 +0200 |
---|---|---|
committer | LemonBoy <thatlemon@gmail.com> | 2021-04-08 09:59:37 +0200 |
commit | edb18ea5a9132a8e359ce0c0b103286d15244b8a (patch) | |
tree | f0feb5033002944771d72b17ea853ce282371f1a /clang/lib/Basic/SourceManager.cpp | |
parent | 6b64c662c79524a2ec5f5b1bc10ce4c2a1e3ff37 (diff) | |
download | llvm-edb18ea5a9132a8e359ce0c0b103286d15244b8a.zip llvm-edb18ea5a9132a8e359ce0c0b103286d15244b8a.tar.gz llvm-edb18ea5a9132a8e359ce0c0b103286d15244b8a.tar.bz2 |
[AsmParser] Recognize more escaped characters between single quotes
The GNU AS manual states the following about single-character constants enclosed within single quotes:
> Some backslash escapes apply to characters, \b, \f, \n, \r, \t, and \" with the same meaning as for strings, plus \' for a single quote.
Add two more characters to the switch handling this case to match GAS behaviour, plus a test to make sure nothing regresses.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D99609
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions