This revision was automatically updated to reflect the committed changes. Closed by commit rG43f938eddc8a: LTOVisibility.rst: fix up syntax in example (authored by tejohnson).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D70765/new/ https://reviews.llvm.org/D70765 Files: clang/docs/LTOVisibility.rst Index: clang/docs/LTOVisibility.rst =================================================================== --- clang/docs/LTOVisibility.rst +++ clang/docs/LTOVisibility.rst @@ -83,7 +83,7 @@ | | }; | | | struct E : D { | | | struct [[clang::lto_visibility_public]] D { | | | virtual void g() { ... } | | | virtual void g() = 0; | | | }; | - | | }; | | | __attribute__(visibility("default"))) D *mkE() { | + | | }; | | | __attribute__((visibility("default"))) D *mkE() { | | | | | | return new E; | | +-----------------------------------------------------+ | | } | | | | |
Index: clang/docs/LTOVisibility.rst =================================================================== --- clang/docs/LTOVisibility.rst +++ clang/docs/LTOVisibility.rst @@ -83,7 +83,7 @@ | | }; | | | struct E : D { | | | struct [[clang::lto_visibility_public]] D { | | | virtual void g() { ... } | | | virtual void g() = 0; | | | }; | - | | }; | | | __attribute__(visibility("default"))) D *mkE() { | + | | }; | | | __attribute__((visibility("default"))) D *mkE() { | | | | | | return new E; | | +-----------------------------------------------------+ | | } | | | | |
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits