diff options
author | Bruno Ricci <riccibrun@gmail.com> | 2018-11-15 16:42:14 +0000 |
---|---|---|
committer | Bruno Ricci <riccibrun@gmail.com> | 2018-11-15 16:42:14 +0000 |
commit | af214885cd5eda8add23e22f17e82f9455f9e323 (patch) | |
tree | 0e4abaceaeb32c06edb5389fd9fd798ba7fec34b /llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp | |
parent | 712bdb275ce6d5f053740741dc686b9aa7597532 (diff) | |
download | llvm-af214885cd5eda8add23e22f17e82f9455f9e323.zip llvm-af214885cd5eda8add23e22f17e82f9455f9e323.tar.gz llvm-af214885cd5eda8add23e22f17e82f9455f9e323.tar.bz2 |
[AST][NFC] Various NFCs in StringLiteral
Factored out of D54166
([AST] Store the string data in StringLiteral in a trailing array of chars):
* For-range loops in containsNonAscii and containsNonAsciiOrNull.
* Comments and style fixes.
* int -> unsigned in mapCharByteWidth since TargetInfo::getCharWidth
and friends return an unsigned, and StringLiteral manipulates and
stores CharByteWidth as an unsigned.
llvm-svn: 346967
Diffstat (limited to 'llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions