openxla / xla

A machine learning compiler for GPUs, CPUs, and ML accelerators
Apache License 2.0
2.55k stars 394 forks source link

Force semicolon to be placed after XLA_VLOG_LINES #14890

Closed copybara-service[bot] closed 1 month ago

copybara-service[bot] commented 1 month ago

Force semicolon to be placed after XLA_VLOG_LINES

The macro definition previously had the ;, which allowed users to exlcude it when using. I don't think this is the norm for C preprocessor macros. In addition, XLA_LOG_LINES requires it, so switching between the two would require it to be there anyway.