http://llvm.org/bugs/show_bug.cgi?id=6085
Summary: code and text do not match
Product: Documentation
Version: trunk
Platform: All
URL: http://llvm.org/docs/tutorial/LangImpl3.html#funcs
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: General docs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
The text in the 2nd paragraph below the first code-example in the 'Function
Code Generation' section says:
"The call to Context.get creates ..."
The code-example however, has no 'Context.get()' method, it does have a
'getGlobalContext() function. Probably one of both are not updated after a
api-change in the past.
This happens a gew time in this section more.
Note, This seams and older doc-bug; it is available in the 'latest' version
(see url), but also in several releases; at least in 2.6 which I'm studying.
The 2.2 version is "different", but seams consistent with itsefl
Note 2: The shown code excerpt is "repeated" in as whole program, at the bottom
of the file. There it seams different that in the code-example.
Hope this helps. Please contact me for more info when needed --Albert
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs