Skip to content

Commit 2e4f1e1

Browse files
[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
1 parent d0bd3fc commit 2e4f1e1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+3110
-3119
lines changed

clang/www/OpenProjects.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,19 @@ <h1>Open Clang Projects</h1>
4444
Clang is built as a set of libraries, which means that it is possible to
4545
implement capabilities similar to other source language tools, improving them
4646
in various ways. Three examples are <a
47-
href="http://distcc.samba.org/">distcc</a>, the <a
47+
href="https://github.com/distcc">distcc</a>, the <a
4848
href="http://delta.tigris.org/">delta testcase reduction tool</a>, and the
4949
"indent" source reformatting tool.
5050
distcc can be improved to scale better and be more efficient. Delta could be
5151
faster and more efficient at reducing C-family programs if built on the clang
5252
preprocessor. The clang-based indent replacement,
53-
<a href="http://clang.llvm.org/docs/ClangFormat.html">clang-format</a>,
53+
<a href="https://clang.llvm.org/docs/ClangFormat.html">clang-format</a>,
5454
could be taught to handle simple structural rules like those in <a
55-
href="http://llvm.org/docs/CodingStandards.html#hl_earlyexit">the LLVM coding
55+
href="https://llvm.org/docs/CodingStandards.html#use-early-exits-and-continue-to-simplify-code">the LLVM coding
5656
standards</a>.</li>
5757

58-
<li><b>Use clang libraries to extend Ragel with a JIT</b>: <a
59-
href="http://research.cs.queensu.ca/~thurston/ragel/">Ragel</a> is a state
58+
<li><b>Use clang libraries to extend Ragel with a JIT</b>: <a
59+
href="https://www.colm.net/open-source/ragel/">Ragel</a> is a state
6060
machine compiler that lets you embed C code into state machines and generate
6161
C code. It would be relatively easy to turn this into a JIT compiler using
6262
LLVM.</li>

clang/www/UniversalDriver.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ <h1>The Clang Universal Driver Project</h1>
4545
development. Stay tuned for more information, and of course, patches
4646
welcome!</p>
4747

48-
<p>See also <a href="http://llvm.org/PR4127">PR4127</a>.</p>
48+
<p>See also <a href="https://llvm.org/PR4127">PR4127</a>.</p>
4949

5050
<h2>Existing Solutions and Related Work</h2>
5151

@@ -55,14 +55,14 @@ <h2>Existing Solutions and Related Work</h2>
5555
and <tt>-m64</tt> solve a small subset of the problem for specific
5656
architectures.</li>
5757

58-
<li>gcc's <a href="http://www.airs.com/ian/configure/configure_8.html">multilibs</a>
58+
<li>gcc's <a href="https://www.airs.com/ian/configure/configure_8.html">multilibs</a>
5959
solve the part of the problem that relates to finding appropriate libraries
6060
and include files based on particular feature support (soft float,
6161
etc.).</li>
6262

6363
<li>Apple's "driver driver" supported by gcc and clang solve a subset of the
6464
problem by supporting <tt>-arch</tt>. Apple also provides a tool chain which
65-
supports <a href="http://en.wikipedia.org/wiki/Universal_binary">universal
65+
supports <a href="https://en.wikipedia.org/wiki/Universal_binary">universal
6666
binaries</a> and object files which may include data for multiple
6767
architectures. See <a href="http://developer.apple.com/mac/library/technotes/tn2005/tn2137.html">TN2137</a>
6868
for an example of how this is used.</li>
@@ -73,7 +73,7 @@ <h2>Existing Solutions and Related Work</h2>
7373
does not match well with tools which are inherently capable of cross
7474
compiling.</li>
7575

76-
<li>The Debian <a href="http://wiki.debian.org/ArmEabiPort">ArmEabiPort</a>
76+
<li>The Debian <a href="https://wiki.debian.org/ArmEabiPort">ArmEabiPort</a>
7777
wiki page for their work to support the ARM EABI provide an interesting
7878
glimpse into how related issues impact the operating system distribution.</li>
7979

clang/www/analyzer/alpha_checks.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -930,9 +930,9 @@ <h3 id="unix_alpha_checkers">Unix Alpha Checkers</h3>
930930
Check for misuses of stream APIs:<div class=functions>
931931
fopen<br>
932932
fclose</div>(demo checker, the subject of the demo
933-
(<a href="http://llvm.org/devmtg/2012-11/Zaks-Rose-Checker24Hours.pdf">Slides</a>
933+
(<a href="https://llvm.org/devmtg/2012-11/Zaks-Rose-Checker24Hours.pdf">Slides</a>
934934
,<a href="https://youtu.be/kdxlsP5QVPw">Video</a>)
935-
by Anna Zaks and Jordan Rose presented at the <a href="http://llvm.org/devmtg/2012-11/">
935+
by Anna Zaks and Jordan Rose presented at the <a href="https://llvm.org/devmtg/2012-11/">
936936
2012 LLVM Developers' Meeting).</a></div></div></a></td>
937937
<td><div class="exampleContainer expandable">
938938
<div class="example"><pre>

clang/www/analyzer/annotations.html

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@
1717
<h1>Source Annotations</h1>
1818

1919
<p>The Clang frontend supports several source-level annotations in the form of
20-
<a href="http://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html">GCC-style
20+
<a href="https://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html">GCC-style
2121
attributes</a> and pragmas that can help make using the Clang Static Analyzer
2222
more useful. These annotations can both help suppress false positives as well as
2323
enhance the analyzer's ability to find bugs.</p>
2424

2525
<p>This page gives a practical overview of such annotations. For more technical
2626
specifics regarding Clang-specific annotations please see the Clang's list of <a
27-
href="http://clang.llvm.org/docs/LanguageExtensions.html">language
27+
href="https://clang.llvm.org/docs/LanguageExtensions.html">language
2828
extensions</a>. Details of &quot;standard&quot; GCC attributes (that Clang also
29-
supports) can be found in the <a href="http://gcc.gnu.org/onlinedocs/gcc/">GCC
29+
supports) can be found in the <a href="https://gcc.gnu.org/onlinedocs/gcc/">GCC
3030
manual</a>, with the majority of the relevant attributes being in the section on
31-
<a href="http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html">function
31+
<a href="https://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html">function
3232
attributes</a>.</p>
3333

3434
<p>Note that attributes that are labeled <b>Clang-specific</b> are not
@@ -68,7 +68,7 @@ <h4>Specific Topics</h4>
6868
<li><a href="#attr_os_consumes_this">Attribute 'os_consumes_this'</a></li>
6969
<li><a href="#os_out_parameters">Out Parameters</a></li>
7070
</ul>
71-
71+
7272
</li>
7373
</ul>
7474
</li>
@@ -91,7 +91,7 @@ <h4 id="attr_nonnull">Attribute 'nonnull'</h4>
9191
<p>The analyzer recognizes the GCC attribute 'nonnull', which indicates that a
9292
function expects that a given function parameter is not a null pointer. Specific
9393
details of the syntax of using the 'nonnull' attribute can be found in <a
94-
href="http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html#index-g_t_0040code_007bnonnull_007d-function-attribute-2263">GCC's
94+
href="https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-nonnull-function-attribute">GCC's
9595
documentation</a>.</p>
9696

9797
<p>Both the Clang compiler and GCC will flag warnings for simple cases where a
@@ -108,7 +108,7 @@ <h4 id="attr_nonnull">Attribute 'nonnull'</h4>
108108
int bar(int*p, int q, int *r) __attribute__((nonnull(1,3)));
109109

110110
int foo(int *p, int *q) {
111-
return !p ? bar(q, 2, p)
111+
return !p ? bar(q, 2, p)
112112
: bar(p, 2, q);
113113
}
114114
</pre>
@@ -138,8 +138,8 @@ <h3 id="cocoa_mem">Cocoa &amp; Core Foundation Memory Management
138138
<p>One can educate the analyzer (and others who read your code) about methods or
139139
functions that deviate from the Cocoa and Core Foundation conventions using the
140140
attributes described here. However, you should consider using proper naming
141-
conventions or the <a
142-
href="http://clang.llvm.org/docs/LanguageExtensions.html#the-objc-method-family-attribute"><tt>objc_method_family</tt></a>
141+
conventions or the <a
142+
href="https://clang.llvm.org/docs/LanguageExtensions.html#the-objc-method-family-attribute"><tt>objc_method_family</tt></a>
143143
attribute, if applicable.</p>
144144

145145
<h4 id="attr_ns_returns_retained">Attribute 'ns_returns_retained'
@@ -236,7 +236,7 @@ <h4 id="attr_cf_returns_retained">Attribute 'cf_returns_retained'
236236

237237
<p>The GCC-style (Clang-specific) attribute 'cf_returns_retained' allows one to
238238
annotate an Objective-C method or C function as returning a retained Core
239-
Foundation object that the caller is responsible for releasing. The
239+
Foundation object that the caller is responsible for releasing. The
240240
CoreFoundation framework defines a macro <b><tt>CF_RETURNS_RETAINED</tt></b>
241241
that is functionally equivalent to the one shown below.</p>
242242

@@ -323,7 +323,7 @@ <h4 id="attr_cf_returns_not_retained">Attribute 'cf_returns_not_retained'
323323
method may appear to obey the Core Foundation or Cocoa conventions and return
324324
a retained Core Foundation object, this attribute can be used to indicate that
325325
the object reference returned should not be considered as an
326-
&quot;owning&quot; reference being returned to the caller. The
326+
&quot;owning&quot; reference being returned to the caller. The
327327
CoreFoundation framework defines a macro <b><tt>CF_RETURNS_NOT_RETAINED</tt></b>
328328
that is functionally equivalent to the one shown below.</p>
329329

@@ -353,8 +353,8 @@ <h4 id="attr_ns_consumed">Attribute 'ns_consumed'
353353
<p>The 'ns_consumed' attribute can be placed on a specific parameter in either
354354
the declaration of a function or an Objective-C method. It indicates to the
355355
static analyzer that a <tt>release</tt> message is implicitly sent to the
356-
parameter upon completion of the call to the given function or method. The
357-
Foundation framework defines a macro <b><tt>NS_RELEASES_ARGUMENT</tt></b> that
356+
parameter upon completion of the call to the given function or method. The
357+
Foundation framework defines a macro <b><tt>NS_RELEASES_ARGUMENT</tt></b> that
358358
is functionally equivalent to the <tt>NS_CONSUMED</tt> macro shown below.</p>
359359

360360
<p><b>Example</b></p>
@@ -408,7 +408,7 @@ <h4 id="attr_cf_consumed">Attribute 'cf_consumed'
408408
to the given function or method. The CoreFoundation framework defines a macro
409409
<b><tt>CF_RELEASES_ARGUMENT</tt></b> that is functionally equivalent to the
410410
<tt>CF_CONSUMED</tt> macro shown below.</p>
411-
411+
412412
<p>Operationally this attribute is nearly identical to 'ns_consumed'.</p>
413413

414414
<p><b>Example</b></p>
@@ -438,7 +438,7 @@ <h4 id="attr_cf_consumed">Attribute 'cf_consumed'
438438
void test2() {
439439
CFDateRef date = CFDateCreate(0, CFAbsoluteTimeGetCurrent());
440440
consume_CFDate(date); <b><i>// No leak, including under GC!</i></b>
441-
441+
442442
}
443443

444444
@interface Foo : NSObject
@@ -463,7 +463,7 @@ <h4 id="attr_ns_consumes_self">Attribute 'ns_consumes_self'
463463
follow the standard Cocoa naming conventions.</p>
464464

465465
<p><b>Example</b></p>
466-
466+
467467
<pre class="code_example">
468468
#ifndef __has_feature
469469
#define __has_feature(x) 0 // Compatibility with non-clang compilers.
@@ -573,8 +573,8 @@ <h5>Example</h5>
573573
OSObject *f;
574574
LIBKERN_RETURNS_NOT_RETAINED OSObject *myFieldGetter();
575575
}
576-
577-
576+
577+
578578
// Note that the annotation only has to be applied to the function declaration.
579579
OSObject * MyClass::myFieldGetter() {
580580
return f;
@@ -633,7 +633,7 @@ <h4 id="os_out_parameters">Out Parameters</h4>
633633
void getterViaOutParam(LIBKERN_RETURNS_NOT_RETAINED OSObject **obj)
634634
</pre>
635635
<p>
636-
In such cases a retained object is written into an out parameter, which the caller has then to release in order to avoid a leak.
636+
In such cases a retained object is written into an out parameter, which the caller has then to release in order to avoid a leak.
637637
</p>
638638

639639
<p>These two cases are simple - but in practice a functions returning an out-parameter usually also return a return code, and then an out parameter may or may not be written, which conditionally depends on the exit code, e.g.:</p>
@@ -718,7 +718,7 @@ <h2 id="custom_assertions">Custom Assertion Handlers</h2>
718718
<p>The analyzer knows about several well-known assertion handlers, but can
719719
automatically infer if a function should be treated as an assertion handler if
720720
it is annotated with the 'noreturn' attribute or the (Clang-specific)
721-
'analyzer_noreturn' attribute. Note that, currently, clang does not support
721+
'analyzer_noreturn' attribute. Note that, currently, clang does not support
722722
these attributes on Objective-C methods and C++ methods.</p>
723723

724724
<h4 id="attr_noreturn">Attribute 'noreturn'</h4>
@@ -729,7 +729,7 @@ <h4 id="attr_noreturn">Attribute 'noreturn'</h4>
729729

730730
<p>Specific details of the syntax of using the 'noreturn' attribute can be found
731731
in <a
732-
href="http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html#index-g_t_0040code_007bnoreturn_007d-function-attribute-2264">GCC's
732+
href="https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-noreturn-function-attribute">GCC's
733733
documentation</a>.</p>
734734

735735
<p>Not only does the analyzer exploit this information when pruning false paths,

clang/www/analyzer/available_checks.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ <h3>Writeups with examples of some of the bugs that the analyzer finds</h3>
2929
<ul>
3030
<li><a href="http://www.mobileorchard.com/bug-finding-with-clang-5-resources-to-get-you-started/">Bug Finding With Clang: 5 Resources To Get You Started</a></li>
3131
<li><a href="http://fruitstandsoftware.com/blog/index.php/2008/08/finding-memory-leaks-with-the-llvmclang-static-analyzer/#comment-2">Finding Memory Leaks With The LLVM/Clang Static Analyzer</a></li>
32-
<li><a href="http://www.rogueamoeba.com/utm/2008/07/14/the-clang-static-analyzer/">Under the Microscope - The Clang Static Analyzer</a></li>
33-
<li><a href="http://www.mikeash.com/?page=pyblog/friday-qa-2009-03-06-using-the-clang-static-analyzer.html">Mike Ash - Using the Clang Static Analyzer</a></li>
32+
<li><a href="https://weblog.rogueamoeba.com/2008/07/14/the-clang-static-analyzer/">Under the Microscope - The Clang Static Analyzer</a></li>
33+
<li><a href="https://www.mikeash.com/pyblog/friday-qa-2009-03-06-using-the-clang-static-analyzer.html">Mike Ash - Using the Clang Static Analyzer</a></li>
3434
</ul>
3535

3636
<h2 id="default_checkers">Default Checkers</h2>

0 commit comments

Comments
 (0)