compnerd added a comment. A .S file is run through the C preprocessor. You are defining a macro. That macro should be something that clang-format can format just fine (in fact, I had done just that for the Thumb2 case). https://reviews.llvm.org/D27309