diff options
author | Serge Pavlov <sepavloff@gmail.com> | 2022-05-15 22:35:46 +0700 |
---|---|---|
committer | Serge Pavlov <sepavloff@gmail.com> | 2022-05-20 14:20:09 +0700 |
commit | 5537b22ccbdc562929949844f9f816cf720e5205 (patch) | |
tree | 0e84fbc32d3bc947d81e97f76ff7aa7b49fffebd /lldb/test/Shell/ScriptInterpreter/Python/eof.test | |
parent | 870f4421acc67899d1fe6db392fe555a4b186e80 (diff) | |
download | llvm-5537b22ccbdc562929949844f9f816cf720e5205.zip llvm-5537b22ccbdc562929949844f9f816cf720e5205.tar.gz llvm-5537b22ccbdc562929949844f9f816cf720e5205.tar.bz2 |
Make CompoundStmtBitfields::NumStmts not a bit-field
Number of statements in CompoundStmt is kept in a bit-field of the common
part of Stmt. The field has 24 bits for the number. To allocate a new
bit field (as attempted in https://reviews.llvm.org/D123952), this
number must be reduced, maximal number of statements in a compound
statement becomes smaller. It can result in compilation errors of some
programs.
With this change the number of statements is kept in a field of type
'unsigned int' rather than in bit-field. To make room in CompoundStmtBitfields
LBraceLoc is moved to fields of CompoundStmt.
Differential Revision: https://reviews.llvm.org/D125635
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python/eof.test')
0 files changed, 0 insertions, 0 deletions