From: Craig Topper Date: Sat, 6 Jun 2015 00:44:42 +0000 (+0000) Subject: [TableGen] Correct the documentation for 'foreach' in the Language Intro. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=02890a5cf3b0e86b9ccad3417bc3de86981e868a;p=oota-llvm.git [TableGen] Correct the documentation for 'foreach' in the Language Intro. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239204 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/TableGen/LangIntro.rst b/docs/TableGen/LangIntro.rst index 85c74a5b460..4d4551e8a6e 100644 --- a/docs/TableGen/LangIntro.rst +++ b/docs/TableGen/LangIntro.rst @@ -190,7 +190,7 @@ supported include: for 'a' in 'c.' This operation is analogous to $(subst) in GNU make. ``!foreach(a, b, c)`` - For each member 'b' of dag or list 'a' apply operator 'c.' 'b' is a dummy + For each member of dag or list 'b' apply operator 'c.' 'a' is a dummy variable that should be declared as a member variable of an instantiated class. This operation is analogous to $(foreach) in GNU make.