More analyzer website tweaking in preparation for additional content.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95714 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Ted Kremenek 2010-02-09 23:05:59 +00:00
Родитель 89cc9d6e2a
Коммит 8bebc6e301
10 изменённых файлов: 101 добавлений и 77 удалений

Просмотреть файл

@ -9,6 +9,7 @@
</head> </head>
<body> <body>
<div id="page">
<!--#include virtual="menu.html.incl"--> <!--#include virtual="menu.html.incl"-->
<div id="content"> <div id="content">
@ -383,6 +384,7 @@ the use of preprocessor macros.</p>
void my_assert_rtn(const char *, const char *, int, const char *) <span class="code_highlight">CLANG_ANALYZER_NORETURN</span>; void my_assert_rtn(const char *, const char *, int, const char *) <span class="code_highlight">CLANG_ANALYZER_NORETURN</span>;
</pre> </pre>
</div>
</div> </div>
</body> </body>
</html> </html>

Просмотреть файл

@ -9,6 +9,7 @@
</head> </head>
<body> <body>
<div id="page">
<!--#include virtual="menu.html.incl"--> <!--#include virtual="menu.html.incl"-->
<div id="content"> <div id="content">
@ -29,6 +30,7 @@ of some of the bugs that it finds:</p>
</ul> </ul>
</div>
</div> </div>
</body> </body>
</html> </html>

Просмотреть файл

@ -2,8 +2,11 @@ html { margin: 0px; } body { margin: 8px; }
html, body { html, body {
padding:0px; padding:0px;
margin:0px;
font-size:small; font-family:"Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, Helvetica, sans-serif; background-color: #fff; color: #222; font-size:small; font-family:"Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, Helvetica, sans-serif; background-color: #fff; color: #222;
line-height:1.5; line-height:1.5;
background-color: #808080;
} }
h1, h2, h3, tt { color: #000 } h1, h2, h3, tt { color: #000 }
@ -27,7 +30,19 @@ IMG.img_slide {
margin-right: auto margin-right: auto
} }
#page { width:820px; text-align: left; margin: 0 auto; padding:0;
background-color: white; height:100%;
border-left: 1px solid #EBF0FA;
}
#content {
clear: left;
padding: 1em 2em 0 2em;
background-color: #ffffff;
}
.itemTitle { color:#2d58b7 } .itemTitle { color:#2d58b7 }
/* Tables */ /* Tables */
tr { vertical-align:top } tr { vertical-align:top }

Просмотреть файл

@ -9,8 +9,8 @@
</head> </head>
<body> <body>
<div id="page">
<!--#include virtual="menu.html.incl"--> <!--#include virtual="menu.html.incl"-->
<div id="content"> <div id="content">
<h1>C++ Support</h1> <h1>C++ Support</h1>
@ -45,6 +45,7 @@ will be added as deemed necessary.</p>
</ul> </ul>
</ul> </ul>
</div>
</div> </div>
</body> </body>
</html> </html>

Просмотреть файл

@ -9,8 +9,8 @@
</head> </head>
<body> <body>
<div id="page">
<!--#include virtual="menu.html.incl"--> <!--#include virtual="menu.html.incl"-->
<div id="content"> <div id="content">
<h1>Filing Bugs and Feature Requests</h1> <h1>Filing Bugs and Feature Requests</h1>
@ -55,8 +55,7 @@ the analyzer has access to that bug database.</p>
<h2>Apple-internal Users</h2> <h2>Apple-internal Users</h2>
<p>Please file bugs in Radar against the <b>llvm - checker</b> component.</p> <p>Please file bugs in Radar against the <b>llvm - checker</b> component.</p>
</div>
</div> </div>
</body> </body>
</html> </html>

Просмотреть файл

@ -9,14 +9,19 @@
</head> </head>
<body> <body>
<div id="page">
<!--#include virtual="menu.html.incl"--> <!--#include virtual="menu.html.incl"-->
<div id="content"> <div id="content">
<table style="margin-top:0px" border="0" cellpadding="0" cellspacing="0">
<tr><td>
<h1>Clang Static Analyzer</h1> <h1>Clang Static Analyzer</h1>
<table style="margin-top:0px" width="100%" border="0" cellpadding="0px" cellspacing="0">
<tr><td>
<p>The Clang Static Analyzer consists of both a source code analysis framework <p>The Clang Static Analyzer consists of both a source code analysis framework
and a standalone tool that finds bugs in C and Objective-C programs. The and a standalone tool that finds bugs in C and Objective-C programs.</p>
<p>The
standalone tool is invoked from the command-line, and is intended to run in standalone tool is invoked from the command-line, and is intended to run in
tandem with a build of a project or code base.</p> tandem with a build of a project or code base.</p>
@ -76,7 +81,7 @@ href="http://clang.llvm.org">Clang</a> project.</p>
#wrappedcontent { padding:15px;} #wrappedcontent { padding:15px;}
</style> </style>
<div style="margin-left:25px; margin-right:25px; padding:0px; font-size: 80%"> <div style="padding:0px; font-size: 90%">
<b class="spiffy"> <b class="spiffy">
<b class="spiffy1"><b></b></b> <b class="spiffy1"><b></b></b>
<b class="spiffy2"><b></b></b> <b class="spiffy2"><b></b></b>
@ -108,6 +113,13 @@ href="http://clang.llvm.org">Clang</a> project.</p>
<b class="spiffy1"><b></b></b></b> <b class="spiffy1"><b></b></b></b>
</div> </div>
</td><td style="padding-left:10px">
<a href="images/analyzer_xcode.png"><img src="images/analyzer_xcode.png" width="450x"></a>
<center><b>Viewing static analyzer results in Xcode 3.2</b></center>
<a href="images/analyzer_html.png"><img src="images/analyzer_html.png" width="450px"></a>
<center><b>Viewing static analyzer results in a web browser</b></center>
</td></tr></table>
<h2 id="StaticAnalysis">What is Static Analysis?</h2> <h2 id="StaticAnalysis">What is Static Analysis?</h2>
<p>The term &quot;static analysis&quot; is conflated, but here we use it to mean <p>The term &quot;static analysis&quot; is conflated, but here we use it to mean
@ -124,16 +136,6 @@ industrial-quality static analysis framework for analyzing C and Objective-C
programs that is freely available, extensible, and has a high quality of programs that is freely available, extensible, and has a high quality of
implementation.</p> implementation.</p>
</td><td>
<a href="images/analyzer_xcode.png"><img src="images/analyzer_xcode.png" width="450x"></a>
<center><b>Viewing static analyzer results in Xcode 3.2</b></center>
<a href="images/analyzer_html.png"><img src="images/analyzer_html.png" width="450px"></a>
<center><b>Viewing static analyzer results in a web browser</b></center>
</td></tr></table>
<h3 id="Clang">Part of Clang and LLVM</h3> <h3 id="Clang">Part of Clang and LLVM</h3>
<p>As its name implies, the Clang Static Analyzer is built on top of <a <p>As its name implies, the Clang Static Analyzer is built on top of <a
@ -192,6 +194,7 @@ you would like the Clang Static Analyzer to find, please feel free to
file <a href="filing_bugs.html">feature requests</a> or contribute your own file <a href="filing_bugs.html">feature requests</a> or contribute your own
patches.</p> patches.</p>
</div>
</div> </div>
</body> </body>
</html> </html>

Просмотреть файл

@ -9,8 +9,8 @@
</head> </head>
<body> <body>
<div id="page">
<!--#include virtual="menu.html.incl"--> <!--#include virtual="menu.html.incl"-->
<div id="content"> <div id="content">
<h1>Obtaining the Static Analyzer</h1> <h1>Obtaining the Static Analyzer</h1>
@ -107,7 +107,7 @@ are located in <tt>$(SRCDIR)/tools/clang/tools/scan-build</tt> and
are subject to change.</p></li> are subject to change.</p></li>
</ul> </ul>
</div>
</div> </div>
</body> </body>
</html> </html>

Просмотреть файл

@ -1,10 +1,14 @@
/* From 'A list apart', 'dropdowns' */ /* From 'A list apart', 'dropdowns' */
body {
background-color: #EBF0FA;
}
#nav { #nav {
clear: left;
margin:0;
padding:0;
font-weight: bold; font-weight: bold;
color: #2d58b7; width:100%;
background-color: #EBF0FA;
border-bottom: 1px solid;
font-size: 80%;
} }
#nav a { #nav a {
text-decoration: none; text-decoration: none;
@ -12,42 +16,37 @@ body {
#nav a:hover { #nav a:hover {
text-decoration: underline; text-decoration: underline;
} }
.menubar {
font-size: 80%;
}
.menubar ul { .menubar ul {
padding: 0; list-style: none inside;
margin: 0;
list-style: none;
} }
.menubar li { .menubar li {
margin: 0;
padding: 5px;
text-align: center; text-align: center;
padding: 5px; text-indent: 0px;
list-style: none; list-style-position: inside;
list-style:none;
float: left; float: left;
position: relative; position: relative;
width: 11em; width: 13em;
cursor: default; cursor: default;
background-color: #EBF0FA; background-color: #EBF0FA;
} }
.menubar li ul /* second level lists */ { .menubar li ul /* second level lists */ {
display: none; display: none;
position: absolute; position: absolute;
top: 1em;
left: 0; left: 0;
} }
.menubar li>ul { .menubar li>ul {
border-left: 1px solid;
border-right: 1px solid;
border-bottom: 1px solid;
padding: 0; padding: 0;
margin: 0; margin: 5px 0;
top:auto;
left:auto; left:auto;
font-weight: normal; font-weight: normal;
} }
.menubar li:hover ul, li.over ul { /* lists nested under hovered list items */ .menubar li:hover ul, li.over ul { /* lists nested under hovered list items */
display: block; display: block;
} }
#content {
clear: left;
padding-top: 10px;
background-color: #ffffff;
}

Просмотреть файл

@ -1,37 +1,39 @@
<div id="nav"> <table width="100%" id="nav" cellspacing=0 cellpadding=0>
<tr><td>
<ul style="margin:0; padding:0" class="menubar">
<li>
<a href="/index.html">About</a>
<ul class="menubar"> <ul class="menubar">
<li> <li><a href="/index.html">About the Analyzer</a></li>
<a href="/index.html">About</a> <li><a href="http://llvm.org/">LLVM Project</a></li>
<ul> <li><a href="http://clang.llvm.org/">Clang Project</a></li>
<li><a href="/index.html">About the Analyzer</a></li>
<li><a href="http://llvm.org/">LLVM Project</a></li>
<li><a href="http://clang.llvm.org/">Clang Project</a></li>
</ul>
</li>
<li>
<a href="/filing_bugs.html">Filing Bugs</a>
</li>
<li>
User Manual
<ul>
<li><a href="/installation.html">Obtaining the Analyzer</a></li>
<li><a href="/scan-build.html">Running the Analyzer</tt></a></li>
<li><a href="/available_checks.html">Available Checks</a></li>
<li><a href="/annotations.html">Source-level Annotations</a></li>
</ul>
</li>
<li>
Development
<ul>
<li><a href="/dev_cxx.html">Analysis support for C++</a></li>
</ul>
</li>
<li>
Mailing Lists
<ul>
<li><a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">cfe-dev</a></li>
<li><a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits">cfe-commits</a></li>
</ul>
</li>
</ul> </ul>
</div> </li>
<li>
<a href="/filing_bugs.html">Filing Bugs</a>
</li>
<li>
User Manual
<ul>
<li><a href="/installation.html">Obtaining the Analyzer</a></li>
<li><a href="/scan-build.html">Running the Analyzer</tt></a></li>
<li><a href="/available_checks.html">Available Checks</a></li>
<li><a href="/annotations.html">Source-level Annotations</a></li>
</ul>
</li>
<li>
Development
<ul>
<li><a href="/dev_cxx.html">Analysis support for C++</a></li>
</ul>
</li>
<li>
Mailing Lists
<ul>
<li><a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">cfe-dev</a></li>
<li><a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits">cfe-commits</a></li>
</ul>
</li>
</ul>
</td></tr>
</table>

Просмотреть файл

@ -26,8 +26,8 @@
</head> </head>
<body> <body>
<div id="page">
<!--#include virtual="menu.html.incl"--> <!--#include virtual="menu.html.incl"-->
<div id="content"> <div id="content">
<h1>Running the Analyzer</h1> <h1>Running the Analyzer</h1>
@ -245,6 +245,7 @@ the arguments over to <tt>gcc</tt>, but this may not work perfectly (please
report bugs of this kind). report bugs of this kind).
--> -->
</div>
</div> </div>
</body> </body>
</html> </html>