diff options
author | Florian Hahn <flo@fhahn.com> | 2019-12-23 21:52:39 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2019-12-23 21:53:30 +0100 |
commit | 5762648c46be9b84108958941994e10d0867bafd (patch) | |
tree | ce875036203a4a8228af44a1bfdf44fee270778c /llvm/docs/TableGen | |
parent | 4b64e034612017fcc97b64d6031319cf18dbbb88 (diff) | |
download | bcm5719-llvm-5762648c46be9b84108958941994e10d0867bafd.tar.gz bcm5719-llvm-5762648c46be9b84108958941994e10d0867bafd.zip |
[Docs] Fix sphinx build errors.
Diffstat (limited to 'llvm/docs/TableGen')
-rw-r--r-- | llvm/docs/TableGen/LangIntro.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/docs/TableGen/LangIntro.rst b/llvm/docs/TableGen/LangIntro.rst index d72b61f6ab7..7990d1f466b 100644 --- a/llvm/docs/TableGen/LangIntro.rst +++ b/llvm/docs/TableGen/LangIntro.rst @@ -203,13 +203,13 @@ supported include: For example, to assign the result to a class-typed value, you could write either of these: - ``BaseClass b = !getop<BaseClass>(someDag);`` + ``BaseClass b = !getop<BaseClass>(someDag);`` - ``BaseClass b = !cast<BaseClass>(!getop(someDag));`` + ``BaseClass b = !cast<BaseClass>(!getop(someDag));`` But to build a new dag node reusing the operator from another, no cast is necessary: - ``dag d = !dag(!getop(someDag), args, names);`` + ``dag d = !dag(!getop(someDag), args, names);`` ``!listconcat(a, b, ...)`` A list value that is the result of concatenating the 'a' and 'b' lists. |