From 2e4f1e112dfee1d16c138d42f2bc7ee639f9ae05 Mon Sep 17 00:00:00 2001 From: "Stephan T. Lavavej" Date: Wed, 23 Oct 2019 16:42:47 -0700 Subject: [www] Change URLs to HTTPS. This changes most URLs in llvm's html files to HTTPS. Most changes were search-and-replace with manual verification; some changes were manual. For a few URLs, the websites were performing redirects or had changed their anchors; I fixed those up manually. This consistently uses the official https://wg21.link redirector. This also strips trailing whitespace and fixes a couple of typos. Fixes D69363. There are a very small number of dead links for which I don't know any replacements (they are equally dead as HTTP or HTTPS): https://llvm.org/cmds/llvm2cpp.html https://llvm.org/devmtg/2010-11/videos/Grosser_Polly-desktop.mp4 https://llvm.org/devmtg/2010-11/videos/Grosser_Polly-mobile.mp4 https://llvm.org/devmtg/2011-11/videos/Grosser_PollyOptimizations-desktop.mov https://llvm.org/devmtg/2011-11/videos/Grosser_PollyOptimizations-mobile.mp4 https://llvm.org/perf/db_default/v4/nts/22463 https://polly.llvm.org/documentation/memaccess.html --- clang/www/demo/DemoInfo.html | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'clang/www/demo/DemoInfo.html') 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

Demo page information

-

Press "back" or click here to return to the demo +

Press "back" or click here to return to the demo page.

Hints and Advice

@@ -19,7 +19,7 @@ page.

  • The generated LLVM code will be easier to read if you use stdio (e.g., printf) than iostreams (e.g., std::cout).
  • -
  • Unused inline functions and methods are not generated. Instead +
  • Unused inline functions and methods are not generated. Instead of 'class foo { void bar() {}};', try writing 'class foo { void bar(); }; void foo::bar() {}'.
  • @@ -33,9 +33,9 @@ try writing 'class foo { void bar(); }; void foo::bar() {}'.

    Demangle C++ names with C++ filt

    -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.

    @@ -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.

    -

    Note that you have to define 'main' in your program for this +

    Note that you have to define 'main' in your program for this to make much of a difference.

    @@ -63,8 +63,8 @@ optimizers.

    Analyze generated bytecode

    -Select this option to run the llvm-bcanalyzer tool +Select this option to run the llvm-bcanalyzer tool on the generated bytecode, which introspects into the format of the .bc file itself.

    @@ -72,12 +72,11 @@ itself.

    Show C++ API code

    -Select this option to run the llvm2cpp tool +Select this option to run the llvm2cpp tool on the generated bytecode, which auto generates the C++ API calls that could be used to create the .bc file.

    - -- cgit v1.2.3