<!--
	Nonfunctional hosts in *llvm.org:

		- blog ¹
		- clang ²
		- clang-analyzer ²
		- dragonegg ²
		- klee ²
		- libclc ²
		- libcxx ²
		- lists ¹
		- lld ²
		- lldb ²
		- openmp ²
		- polly ¹
		- vmkit ²

	¹ Refused
	² Shows ^llvm.org


	www.llvm.org: cert only matches ^llvm.org


	STS header includes includeSubdomains
	for reviews

-->
<ruleset name="LLVM.org (partial)">

	<!--	Direct rewrites:
				-->
	<target host="llvm.org" />
	<target host="reviews.llvm.org" />
	<target host="*.reviews.llvm.org" />

		<!--	includeSubdomains applies to one level only, so:
									-->
		<exclusion pattern="^http://(?:[^./]+\.){2,}reviews\.llvm\.org/" />

			<!--	+ve:
					-->
			<test url="http://this.host.reviews.llvm.org/" />
			<test url="http://exists.not.reviews.llvm.org/" />

		<test url="http://www.reviews.llvm.org/" />

	<!--	Complications:
				-->
	<target host="www.llvm.org" />

		<!--	Different from http:
						-->
		<!--exclusion pattern="^http://(www\.)?llvm\.org/($|docs/)" /-->
		<!--
			Exceptions:
					-->
		<exclusion pattern="^http://(?:www\.)?llvm\.org/(?!/*(?:bugs|svn)/)" />

			<!--	+ve:
					-->
			<test url="http://llvm.org/ProjectsWithLLVM/" />
			<test url="http://llvm.org/docs/" />
			<test url="http://llvm.org/docs/GettingStarted.html" />
			<test url="http://llvm.org/pubs/" />

			<!--	-ve:
					-->
			<test url="http://llvm.org/bugs/show_bug.cgi?id=19847" />
			<test url="http://llvm.org/bugs/show_bug.cgi?id=21689" />
			<test url="http://www.llvm.org/svn/" />


	<rule from="^http://www\.llvm\.org/"
		to="https://llvm.org/" />

	<rule from="^http:"
		to="https:" />

</ruleset>
