diff options
Diffstat (limited to 'clang/www/demo')
-rw-r--r-- | clang/www/demo/DemoInfo.html | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/clang/www/demo/DemoInfo.html b/clang/www/demo/DemoInfo.html index 54a5afa1d79..9656ba7afc0 100644 --- a/clang/www/demo/DemoInfo.html +++ b/clang/www/demo/DemoInfo.html @@ -10,7 +10,7 @@ Demo page information <h1>Demo page information</h1> -<p>Press "back" or <a href=".">click here</a> to return to the demo +<p>Press "back" or <a href=".">click here</a> to return to the demo page.</p> <h2><a name="hints">Hints and Advice</a></h2> @@ -19,7 +19,7 @@ page.</p> <li>The generated LLVM code will be easier to read if you use stdio (e.g., printf) than iostreams (e.g., std::cout).</li> -<li>Unused inline functions and methods are not generated. Instead +<li>Unused inline functions and methods are not generated. Instead of '<tt>class foo { void bar() {}};</tt>', try writing '<tt>class foo { void bar(); }; void foo::bar() {}</tt>'.</li> @@ -33,9 +33,9 @@ try writing '<tt>class foo { void bar(); }; void foo::bar() {}</tt>'.</li> <h2><a name="demangle">Demangle C++ names with C++ filt</a></h2> <p> -Select this option if you want to run the output LLVM IR through "c++filt", -which converts 'mangled' C++ names to their unmangled version. -Note that LLVM code produced will not be lexically valid, but it will +Select this option if you want to run the output LLVM IR through "c++filt", +which converts 'mangled' C++ names to their unmangled version. +Note that LLVM code produced will not be lexically valid, but it will be easier to understand. </p> @@ -45,11 +45,11 @@ be easier to understand. Select this option to run the LLVM link-time optimizer, which is designed to optimize across files in your application. Since the demo page doesn't allow you to upload multiple files at once, and does not link in any libraries, we -configured the demo page optimizer to assume there are no calls -coming in from outside the source file, allowing it to optimize more +configured the demo page optimizer to assume there are no calls +coming in from outside the source file, allowing it to optimize more aggressively.</p> -<p>Note that you have to define 'main' in your program for this +<p>Note that you have to define 'main' in your program for this to make much of a difference. </p> @@ -63,8 +63,8 @@ optimizers.</p> <h2><a name="bcanalyzer">Analyze generated bytecode</a></h2> <p> -Select this option to run the <a -href="http://llvm.org/cmds/llvm-bcanalyzer.html">llvm-bcanalyzer</a> tool +Select this option to run the <a +href="https://llvm.org/docs/CommandGuide/llvm-bcanalyzer.html">llvm-bcanalyzer</a> tool on the generated bytecode, which introspects into the format of the .bc file itself. </p> @@ -72,12 +72,11 @@ itself. </p> <h2><a name="llvm2cpp">Show C++ API code</a></h2> <p> -Select this option to run the <a -href="http://llvm.org/cmds/llvm2cpp.html">llvm2cpp</a> tool +Select this option to run the <a +href="https://llvm.org/cmds/llvm2cpp.html">llvm2cpp</a> tool on the generated bytecode, which auto generates the C++ API calls that could be used to create the .bc file. </p> </body> </html> - |