Author: mydeveloperday Date: 2020-12-10T11:24:12Z New Revision: 95616a033c16146b55352c5fb93af82e00422920
URL: https://github.com/llvm/llvm-project/commit/95616a033c16146b55352c5fb93af82e00422920 DIFF: https://github.com/llvm/llvm-project/commit/95616a033c16146b55352c5fb93af82e00422920.diff LOG: [clang-format] NFC Add release note for IndentPragmas Add additional release note to announce new clang-format option added during {D92753} Added: Modified: clang/docs/ReleaseNotes.rst Removed: ################################################################################ diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index 7d68cdb99b48..ef7903e16f7f 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -272,13 +272,15 @@ clang-format }; -- Experimental Support in clang-format for concepts has been improved, to +- Experimental Support in clang-format for concepts has been improved, to aid this the follow options have been added - Option ``IndentRequires`` has been added to indent the ``requires`` keyword in templates. - Option ``BreakBeforeConceptDeclarations`` has been added to aid the formatting of concepts. +- Option ``IndentPragmas`` has been added to allow #pragma to indented with the current scope level. This is especially useful when using #pragma to mark OpenMP sections of code. + libclang -------- _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits