diff options
author | Teresa Johnson <tejohnson@google.com> | 2020-01-08 09:58:18 -0800 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2020-01-08 11:43:11 -0800 |
commit | 43f938eddc8a5c8e12c116ca5f31df5a6fead24e (patch) | |
tree | c5123cb1a436d832b23134ca8a8710fb60d646e4 /clang/docs | |
parent | 2823e91d55891e33a7a8b9a4016db4ec9e2765ae (diff) | |
download | bcm5719-llvm-43f938eddc8a5c8e12c116ca5f31df5a6fead24e.tar.gz bcm5719-llvm-43f938eddc8a5c8e12c116ca5f31df5a6fead24e.zip |
LTOVisibility.rst: fix up syntax in example
Summary: Pretty self-evident. This example was missing an lparen. Added it, and fixed up the ASCII art.
Patch by Nick Black <dankamongmen@gmail.com>
Reviewers: pcc
Reviewed By: pcc
Subscribers: tejohnson, mehdi_amini, inglorion, hiraditya, steven_wu, dexonsmith, cfe-commits
Tags: #llvm, #clang
Differential Revision: https://reviews.llvm.org/D70765
Diffstat (limited to 'clang/docs')
-rw-r--r-- | clang/docs/LTOVisibility.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/docs/LTOVisibility.rst b/clang/docs/LTOVisibility.rst index ed15d8d7867..3a60f54e1b9 100644 --- a/clang/docs/LTOVisibility.rst +++ b/clang/docs/LTOVisibility.rst @@ -83,7 +83,7 @@ cases involving two linkage units, ``main`` and ``dso.so``. | | }; | | | 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; | | +-----------------------------------------------------+ | | } | | | | | |