diff options
author | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2020-10-07 16:29:10 +0100 |
---|---|---|
committer | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2020-10-07 17:17:40 +0100 |
commit | 0a3c82e85b73e51e830b57844b2f5b98cb59afd1 (patch) | |
tree | 1e7cf018b12df8280b7bfbb6363158815cfae9a0 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 7a01fc5abe4cb7b87ddd214b885426a3079636e9 (diff) | |
download | llvm-0a3c82e85b73e51e830b57844b2f5b98cb59afd1.zip llvm-0a3c82e85b73e51e830b57844b2f5b98cb59afd1.tar.gz llvm-0a3c82e85b73e51e830b57844b2f5b98cb59afd1.tar.bz2 |
[clang-format][NFC] Store FormatToken::Type as an enum instead of bitfield
This improves the debugging experience since LLDB will print the enumerator
name instead of a decimal number. This changes TokenType to have uint8_t
as the underlying type and moves it after the remaining bitfields to avoid
increasing the size of FormatToken.
Reviewed By: MyDeveloperDay
Differential Revision: https://reviews.llvm.org/D87006
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions