summaryrefslogtreecommitdiffstats
path: root/llvm/docs/TableGenFundamentals.rst
diff options
context:
space:
mode:
authorSean Silva <silvas@purdue.edu>2014-02-09 02:54:26 +0000
committerSean Silva <silvas@purdue.edu>2014-02-09 02:54:26 +0000
commitb829418bc31cebafa1958cbac546fcc5317c82bc (patch)
treeb3267a03819a368088055030b2afb42651ad26c5 /llvm/docs/TableGenFundamentals.rst
parent2485c214ec47e1a3e27266a41ddb42b89986ebf4 (diff)
downloadbcm5719-llvm-b829418bc31cebafa1958cbac546fcc5317c82bc.tar.gz
bcm5719-llvm-b829418bc31cebafa1958cbac546fcc5317c82bc.zip
[docs] [tblgen] clarify that code fragments are just string literals
Fun fact: looking at the TableGen code (around TGParser.cpp:1166), the only difference in handling is that adjacent regular string literals are concatenated in the parser. llvm-svn: 201035
Diffstat (limited to 'llvm/docs/TableGenFundamentals.rst')
-rw-r--r--llvm/docs/TableGenFundamentals.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/TableGenFundamentals.rst b/llvm/docs/TableGenFundamentals.rst
index 5d529c396ac..8f3d07c3921 100644
--- a/llvm/docs/TableGenFundamentals.rst
+++ b/llvm/docs/TableGenFundamentals.rst
@@ -289,7 +289,7 @@ supported include:
string value
``[{ ... }]``
- code fragment
+ usually called a "code fragment", but is just a multiline string literal
``[ X, Y, Z ]<type>``
list value. <type> is the type of the list element and is usually optional.
OpenPOWER on IntegriCloud