MyDeveloperDay added inline comments.
================ Comment at: clang/docs/ClangFormatStyleOptions.rst:2706 + + For example: STRINGIZE + ---------------- JakeMerdichAMD wrote: > curdeius wrote: > > Shouldn't there be a configuration example like what's in `ForEachMacros` > > doc? > > ``` > > In the .clang-format configuration file, this can be configured like: > > > > .. code-block:: yaml > > > > WhitespaceSensitiveMacros: ['STRINGIZE', 'PP_STRINGIZE'] > > > > For example: BOOST_PP_STRINGIZE. > > ``` > > > Done. I also added PP_STRINGIZE and BOOST_PP_STRINGIZE as defaults; seems > reasonable. The change I think you made here gets lost when the ClangFormatOptions.rst file is regenerated Could you update the `Format.h` and regenerate rather than making the code changes in the rst itself? I ran into this issue when I tried to regenerate. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D82620/new/ https://reviews.llvm.org/D82620 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits