[PATCH] D70765: LTOVisibility.rst: fix up syntax in example

Teresa Johnson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 8 11:45:47 PST 2020


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;                                   |
     |  +-----------------------------------------------------+  |  |  }                                                 |
     |                                                           |  |                                                    |


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70765.236878.patch
Type: text/x-patch
Size: 1172 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200108/eb875831/attachment.bin>


More information about the cfe-commits mailing list