[clang] 43f938e - LTOVisibility.rst: fix up syntax in example
Teresa Johnson via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 8 11:43:32 PST 2020
Author: Teresa Johnson
Date: 2020-01-08T11:43:11-08:00
New Revision: 43f938eddc8a5c8e12c116ca5f31df5a6fead24e
URL: https://github.com/llvm/llvm-project/commit/43f938eddc8a5c8e12c116ca5f31df5a6fead24e
DIFF: https://github.com/llvm/llvm-project/commit/43f938eddc8a5c8e12c116ca5f31df5a6fead24e.diff
LOG: 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 at 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
Added:
Modified:
clang/docs/LTOVisibility.rst
Removed:
################################################################################
diff --git a/clang/docs/LTOVisibility.rst b/clang/docs/LTOVisibility.rst
index ed15d8d78678..3a60f54e1b90 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; |
| +-----------------------------------------------------+ | | } |
| | | |
More information about the cfe-commits
mailing list