From: Sylvestre Ledru Date: Wed, 25 Jul 2012 22:01:31 +0000 (+0000) Subject: Fix two typos in the doc X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7f7390e035c20ec2dcbf122330bd76c18b98049b;p=oota-llvm.git Fix two typos in the doc git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160762 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/LangRef.html b/docs/LangRef.html index 04c1bf8b32f..4d0539241f7 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -2780,7 +2780,7 @@ second_end: make it fit in TYPE.
inttoptr (CST to TYPE)
-
Convert a integer constant to a pointer constant. TYPE must be a pointer +
Convert an integer constant to a pointer constant. TYPE must be a pointer type. CST must be of integer type. The CST value is zero extended, truncated, or unchanged to make it fit in a pointer size. This one is really dangerous!
diff --git a/docs/Passes.html b/docs/Passes.html index 2ebc53ab87e..85292e37412 100644 --- a/docs/Passes.html +++ b/docs/Passes.html @@ -1970,7 +1970,7 @@ if (X < 3) {
  • Verify that a function's argument list agrees with its declared type.
  • It is illegal to specify a name for a void value.
  • -
  • It is illegal to have a internal global value with no initializer.
  • +
  • It is illegal to have an internal global value with no initializer.
  • It is illegal to have a ret instruction that returns a value that does not agree with the function return value type.
  • Function call argument types match the function prototype.