Skip to content

Commit

Permalink
Put the TableGen guard back in.
Browse files Browse the repository at this point in the history
  • Loading branch information
owenca authored Apr 4, 2024
1 parent a0f27d0 commit 9144fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/Format/UnwrappedLineParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ void UnwrappedLineParser::calculateBraceTypes(bool ExpectClassBody) {
NextTok = Tokens->getNextToken();
} while (NextTok->is(tok::comment));

if (!Line->InMacroBody) {
if (!Line->InMacroBody && !Style.isTableGen()) {
// Skip PPDirective lines and comments.
while (NextTok->is(tok::hash)) {
do {
Expand Down

0 comments on commit 9144fa9

Please sign in to comment.