diff options
author | Chris Lattner <sabre@nondot.org> | 2009-02-13 21:51:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-02-13 21:51:45 +0000 |
commit | b3ef533286e4878fa516866aae1eaa871855aebc (patch) | |
tree | cbd69bd9befa552f1c60e8d115d1414c20fb818b | |
parent | 6b8720e7237576f6c3671013e31ff81ec09f4864 (diff) | |
download | bcm5719-llvm-b3ef533286e4878fa516866aae1eaa871855aebc.tar.gz bcm5719-llvm-b3ef533286e4878fa516866aae1eaa871855aebc.zip |
wrap some crazy long lines.
llvm-svn: 64489
-rw-r--r-- | clang/docs/LanguageExtensions.html | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/clang/docs/LanguageExtensions.html b/clang/docs/LanguageExtensions.html index 1a8ff953adf..dfffd2f5d68 100644 --- a/clang/docs/LanguageExtensions.html +++ b/clang/docs/LanguageExtensions.html @@ -58,7 +58,12 @@ href="#__builtin_shufflevector">__builtin_shufflevector</a>.</p> <h2 id="overloading-in-c">Function Overloading in C</h2> <!-- ======================================================================= --> -<p>Clang provides support for C++ function overloading in C. Function overloading in C is introduced using the <tt>overloadable</tt> attribute. For example, one might provide several overloaded versions of a <tt>tgsin</tt> function that invokes the appropriate standard function computing the sine of a value with <tt>float</tt>, <tt>double</tt>, or <tt>long double</tt> precision:</p> +<p>Clang provides support for C++ function overloading in C. Function +overloading in C is introduced using the <tt>overloadable</tt> attribute. For +example, one might provide several overloaded versions of a <tt>tgsin</tt> +function that invokes the appropriate standard function computing the sine of a +value with <tt>float</tt>, <tt>double</tt>, or <tt>long double</tt> +precision:</p> <blockquote> <pre> @@ -94,7 +99,8 @@ function declarations and definitions. Most importantly, if any function with a given name is given the <tt>overloadable</tt> attribute, then all function declarations and definitions with that name (and in that scope) must have the <tt>overloadable</tt> -attribute. This rule even applies to redeclarations of functions whose original declaration had the <tt>overloadable</tt> attribute, e.g.,</p> +attribute. This rule even applies to redeclarations of functions whose original +declaration had the <tt>overloadable</tt> attribute, e.g.,</p> <blockquote> <pre> |