================
@@ -1466,9 +1472,9 @@ FormatToken *FormatTokenLexer::getNextToken() {
FormatTok->Tok.setKind(tok::kw_if);
}
} else if (FormatTok->is(tok::identifier)) {
- if (MacroBlockBeginRegex.match(Text))
+ if (llvm::Regex(Style.MacroBlockBegin).match(Text))
----------------
owenca wrote:
Good point!
https://github.com/llvm/llvm-project/pull/203825
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits