summaryrefslogtreecommitdiffstats
path: root/llvm/docs/TableGen
diff options
context:
space:
mode:
authorSean Silva <silvas@purdue.edu>2013-01-09 02:20:30 +0000
committerSean Silva <silvas@purdue.edu>2013-01-09 02:20:30 +0000
commit543fd7f8be1e8e01392d5e96bcca5fb12d1d7b4f (patch)
treecec5cf60a9bc49c04e052356f6f64997404bc985 /llvm/docs/TableGen
parentdce94d3bd2a417b7954825ac381fd46bade20980 (diff)
downloadbcm5719-llvm-543fd7f8be1e8e01392d5e96bcca5fb12d1d7b4f.tar.gz
bcm5719-llvm-543fd7f8be1e8e01392d5e96bcca5fb12d1d7b4f.zip
TableGen/LangRef: discuss specific C-like escapes
Suggested by Joel Jones. llvm-svn: 171941
Diffstat (limited to 'llvm/docs/TableGen')
-rw-r--r--llvm/docs/TableGen/LangRef.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/docs/TableGen/LangRef.rst b/llvm/docs/TableGen/LangRef.rst
index 42819987349..506d2077a63 100644
--- a/llvm/docs/TableGen/LangRef.rst
+++ b/llvm/docs/TableGen/LangRef.rst
@@ -74,6 +74,11 @@ TableGen also has two string-like literals:
TokString: '"' <non-'"' characters and C-like escapes> '"'
TokCodeFragment: "[{" <shortest text not containing "}]"> "}]"
+.. note::
+ The current implementation accepts the following C-like escapes::
+
+ \\ \' \" \t \n
+
TableGen also has the following keywords::
bit bits class code dag
OpenPOWER on IntegriCloud