зеркало из https://github.com/microsoft/clang-1.git
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:
Родитель
89cc9d6e2a
Коммит
8bebc6e301
|
@ -9,6 +9,7 @@
|
|||
</head>
|
||||
<body>
|
||||
|
||||
<div id="page">
|
||||
<!--#include virtual="menu.html.incl"-->
|
||||
|
||||
<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>;
|
||||
</pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
</head>
|
||||
<body>
|
||||
|
||||
<div id="page">
|
||||
<!--#include virtual="menu.html.incl"-->
|
||||
|
||||
<div id="content">
|
||||
|
@ -29,6 +30,7 @@ of some of the bugs that it finds:</p>
|
|||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -2,8 +2,11 @@ html { margin: 0px; } body { margin: 8px; }
|
|||
|
||||
html, body {
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
font-size:small; font-family:"Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, Helvetica, sans-serif; background-color: #fff; color: #222;
|
||||
line-height:1.5;
|
||||
background-color: #808080;
|
||||
|
||||
}
|
||||
|
||||
h1, h2, h3, tt { color: #000 }
|
||||
|
@ -27,7 +30,19 @@ IMG.img_slide {
|
|||
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 }
|
||||
|
||||
|
||||
/* Tables */
|
||||
tr { vertical-align:top }
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
</head>
|
||||
<body>
|
||||
|
||||
<div id="page">
|
||||
<!--#include virtual="menu.html.incl"-->
|
||||
|
||||
<div id="content">
|
||||
|
||||
<h1>C++ Support</h1>
|
||||
|
@ -45,6 +45,7 @@ will be added as deemed necessary.</p>
|
|||
</ul>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
</head>
|
||||
<body>
|
||||
|
||||
<div id="page">
|
||||
<!--#include virtual="menu.html.incl"-->
|
||||
|
||||
<div id="content">
|
||||
|
||||
<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>
|
||||
|
||||
<p>Please file bugs in Radar against the <b>llvm - checker</b> component.</p>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -9,14 +9,19 @@
|
|||
</head>
|
||||
<body>
|
||||
|
||||
<div id="page">
|
||||
<!--#include virtual="menu.html.incl"-->
|
||||
|
||||
<div id="content">
|
||||
<table style="margin-top:0px" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr><td>
|
||||
|
||||
<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
|
||||
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
|
||||
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;}
|
||||
</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="spiffy1"><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>
|
||||
</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>
|
||||
|
||||
<p>The term "static analysis" 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
|
||||
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>
|
||||
|
||||
<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
|
||||
patches.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
</head>
|
||||
<body>
|
||||
|
||||
<div id="page">
|
||||
<!--#include virtual="menu.html.incl"-->
|
||||
|
||||
<div id="content">
|
||||
|
||||
<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>
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,10 +1,14 @@
|
|||
/* From 'A list apart', 'dropdowns' */
|
||||
body {
|
||||
background-color: #EBF0FA;
|
||||
}
|
||||
|
||||
#nav {
|
||||
clear: left;
|
||||
margin:0;
|
||||
padding:0;
|
||||
font-weight: bold;
|
||||
color: #2d58b7;
|
||||
width:100%;
|
||||
background-color: #EBF0FA;
|
||||
border-bottom: 1px solid;
|
||||
font-size: 80%;
|
||||
}
|
||||
#nav a {
|
||||
text-decoration: none;
|
||||
|
@ -12,42 +16,37 @@ body {
|
|||
#nav a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.menubar {
|
||||
font-size: 80%;
|
||||
}
|
||||
.menubar ul {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
list-style: none inside;
|
||||
}
|
||||
.menubar li {
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
list-style: none;
|
||||
text-align: center;
|
||||
text-indent: 0px;
|
||||
list-style-position: inside;
|
||||
list-style:none;
|
||||
float: left;
|
||||
position: relative;
|
||||
width: 11em;
|
||||
width: 13em;
|
||||
cursor: default;
|
||||
background-color: #EBF0FA;
|
||||
}
|
||||
.menubar li ul /* second level lists */ {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 1em;
|
||||
left: 0;
|
||||
}
|
||||
.menubar li>ul {
|
||||
border-left: 1px solid;
|
||||
border-right: 1px solid;
|
||||
border-bottom: 1px solid;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
top:auto;
|
||||
margin: 5px 0;
|
||||
left:auto;
|
||||
font-weight: normal;
|
||||
}
|
||||
.menubar li:hover ul, li.over ul { /* lists nested under hovered list items */
|
||||
display: block;
|
||||
}
|
||||
#content {
|
||||
clear: left;
|
||||
padding-top: 10px;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,17 +1,18 @@
|
|||
<div id="nav">
|
||||
<ul class="menubar">
|
||||
<li>
|
||||
<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>
|
||||
<ul class="menubar">
|
||||
<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>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/filing_bugs.html">Filing Bugs</a>
|
||||
</li>
|
||||
<li>
|
||||
</li>
|
||||
<li>
|
||||
User Manual
|
||||
<ul>
|
||||
<li><a href="/installation.html">Obtaining the Analyzer</a></li>
|
||||
|
@ -19,19 +20,20 @@
|
|||
<li><a href="/available_checks.html">Available Checks</a></li>
|
||||
<li><a href="/annotations.html">Source-level Annotations</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
</li>
|
||||
<li>
|
||||
Development
|
||||
<ul>
|
||||
<li><a href="/dev_cxx.html">Analysis support for C++</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
</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>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</td></tr>
|
||||
</table>
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
</head>
|
||||
<body>
|
||||
|
||||
<div id="page">
|
||||
<!--#include virtual="menu.html.incl"-->
|
||||
|
||||
<div id="content">
|
||||
|
||||
<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).
|
||||
-->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Загрузка…
Ссылка в новой задаче