================
@@ -1157,7 +1157,15 @@ void UnwrappedLineParser::parsePPDefine() {
// guard processing above, and changes preprocessing nesting.
FormatTok->Tok.setKind(tok::identifier);
FormatTok->Tok.setIdentifierInfo(Keywords.kw_internal_ident_after_define);
- nextToken();
+
+ if (Style.SkipMacroDefinitionBody) {
+ do {
+ nextToken();
+ } while (!eof());
+ } else {
+ nextToken();
+ }
----------------
owenca wrote:
Np!
https://github.com/llvm/llvm-project/pull/70338
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits