Sean Silva
62737b65b1
docs: Nuke AnalyzerRegions.rst.
...
As per Ted's advice. It can be brought back from version control if
needed.
This also fixes a Sphinx warning.
llvm-svn: 170401
2012-12-18 02:15:05 +00:00
Dmitry Vyukov
ca2d2e11ac
tsan: correct llvm libc++ name
...
llvm-svn: 170326
2012-12-17 13:07:35 +00:00
Dmitry Vyukov
a53767ea22
tsan: add __has_feature(thread_sanitizer)
...
llvm-svn: 170314
2012-12-17 08:52:05 +00:00
Dmitry Vyukov
be66bf152e
tsan: update docs
...
llvm-svn: 170311
2012-12-17 07:16:54 +00:00
Chandler Carruth
1aa9f173fc
Clean up a small (messy) section of Clang's release notes for 3.2.
...
llvm-svn: 170309
2012-12-17 06:24:36 +00:00
Dmitri Gribenko
544bd61989
Documentation: add a missing word
...
llvm-svn: 170296
2012-12-16 19:55:39 +00:00
Dmitri Gribenko
2d1fa58fa9
Clang ReleaseNotes: add information about documentation comments support
...
llvm-svn: 170294
2012-12-16 17:38:09 +00:00
Dmitri Gribenko
7730cf0b62
Documentation: AutomaticReferenceCounting.rst: use CSS section numbering.
...
This enables us to use the same document structure as in other files.
llvm-svn: 170283
2012-12-16 11:25:45 +00:00
Sean Silva
55b7cbe8ed
docs: Fix completely broken adornment structure.
...
The adornment:
===
Foo
===
is for titles, not sections.
llvm-svn: 170278
2012-12-16 00:23:40 +00:00
Dmitri Gribenko
7ac0cc3698
Documentation: random cleanups. Use monospaced font where appropriate,
...
highlight console output with "code-block:: console", etc.
llvm-svn: 170276
2012-12-15 21:10:51 +00:00
Dmitri Gribenko
d9d26072d6
Documentation: convert InternalsManual.html to reST
...
Patch by Anastasi Voitova with with small fixes by me.
llvm-svn: 170275
2012-12-15 20:41:17 +00:00
Dmitri Gribenko
ace09a2466
Documentation: LanguageExtensions.rst: convert link to :doc: style and fix up
...
heading underline.
llvm-svn: 170272
2012-12-15 14:25:25 +00:00
Jordan Rose
32e9489058
Docs: redirect "static analysis extensions" section to the analyzer site.
...
The notes on the objc_method_family and ns_returns_retained-type attributes
have been moved to the Objective-C section, since both are used by ARC.
The notes on analyzer_noreturn are now only on the analyzer site.
The inadequacy of these docs was noticed months ago by Jonathan Sauer;
I'm only just now getting around to cleaning them up.
llvm-svn: 170261
2012-12-15 00:37:01 +00:00
Jordan Rose
ba8307d2e5
Remove old description of analyzer internals from public docs.
...
The file still exists in docs/analyzer/, but it won't be linked to from
clang.llvm.org or processed as part of the default Sphinx doc-build.
RegionStore has changed a lot from what Ted and Zhongxing describe here!
llvm-svn: 170260
2012-12-15 00:36:53 +00:00
Edwin Vane
524741fbbd
Style and Doc fix for CommonOptionsParser
...
- Renaming GetCompilations() and GetSourcePathList() to follow LLVM
style.
- Updating docs to reflect name change.
- Also updating help text to not mention clang-check since this class
can be used by any tool.
Reviewed By: Alexander Kornienko
llvm-svn: 170229
2012-12-14 18:58:25 +00:00
Dmitri Gribenko
795774018e
Documentation: add AutomaticReferenceCounting.rst to the toctree
...
llvm-svn: 170133
2012-12-13 16:06:00 +00:00
Dmitri Gribenko
6c48a8c4ee
Documentation: convert AutomaticReferenceCounting.html to reST
...
Patch by Anastasi Voitova with with small fixes by me.
llvm-svn: 170132
2012-12-13 16:04:37 +00:00
Richard Smith
bb741f4552
Point a hyperlink back to where it was before it got reStructured.
...
llvm-svn: 170110
2012-12-13 07:29:23 +00:00
Richard Smith
1629da95fe
ubsan: Add -fsanitize=bool and -fsanitize=enum, which check for loads of
...
bit-patterns which are not valid values for enumerated or boolean types.
These checks are the ubsan analogue of !range metadata.
llvm-svn: 170108
2012-12-13 07:11:50 +00:00
Sean Silva
bf9b4cd596
docs: More reST conversion.
...
Sorry for the large commit, but it is much faster to convert in batches.
llvm-svn: 170067
2012-12-13 01:10:46 +00:00
Sean Silva
709c44d1f1
docs: Convert some docs to reST.
...
Converts:
LanguageExtensions
LibASTMatchers
LibTooling
PCHInternals
ThreadSanitizer
Tooling
Patch by Mykhailo Pustovit!
(with minor edits by Dmitri Gribenko and Sean Silva)
llvm-svn: 170048
2012-12-12 23:44:55 +00:00
Daniel Dunbar
e50a92f754
docs: Another test commit (sphinx autoupdating).
...
llvm-svn: 170047
2012-12-12 23:35:03 +00:00
Daniel Dunbar
e6daf69f8b
docs: Test commit (sphinx autoupdating).
...
llvm-svn: 170046
2012-12-12 23:33:24 +00:00
Sean Silva
99b51c48cc
docs: Initial Sphinx setup for Clang.
...
I don't think this will be visible just yet on <clang.llvm.org/docs/>
since I don't think that the necessary server-side setup has taken
place.
Don't shoot me over the theme. I don't want to duplicate LLVM's theme
into the clang repo at the moment, so I just used one of Sphinx's
default themes.
llvm-svn: 170042
2012-12-12 23:02:30 +00:00
Daniel Jasper
4ec32d3d90
AST matcher tutorial (Part I)
...
This an AST matcher tutorial based on Sam Panzer's document
(https://docs.google.com/a/google.com/document/d/1oTkVLhCdRJUEH1_LDaQdXqe8-aOqT5GLDL9e4MhoFF8/edit ).
Checking in now although some parts might be a bit rough so others can
help improving it.
llvm-svn: 169632
2012-12-07 20:34:49 +00:00
Richard Smith
39dd38c061
Add extra truthiness.
...
llvm-svn: 169555
2012-12-06 22:40:09 +00:00
Daniel Jasper
f9ae1527c7
Update matcher documentation with script.
...
We still need to make the python script understand some of the new
matchers, but this should be an improvement.
llvm-svn: 169258
2012-12-04 12:08:08 +00:00
Richard Smith
35d8629906
Document the existence of -fsanitize=bounds.
...
llvm-svn: 169207
2012-12-04 02:48:16 +00:00
Alexey Samsonov
0e96becfb1
This patch exposes to Clang users three more sanitizers are experimental features of ASan:
...
1) init-order sanitizer: initialization-order checker.
Status: usable, but may produce false positives w/o proper blacklisting.
2) use-after-return sanitizer
Status: implemented, but heavily understed.
Should be optional, as it significanlty slows program down.
3) use-after-scope sanitizer
Status: in progress.
llvm-svn: 168950
2012-11-29 22:36:21 +00:00
Will Dietz
1897cb3b9c
Add -fsanitize=integer for reporting suspicious integer behaviors.
...
Introduces new sanitizer "unsigned-integer-overflow".
llvm-svn: 168701
2012-11-27 15:01:55 +00:00
Richard Smith
d902b34e66
Updates to user's manual and release notes for -fsanitize= options.
...
llvm-svn: 167479
2012-11-06 19:23:14 +00:00
Alexey Samsonov
33bfe09c34
Use -fsanitize= flag in docs for ASan/TSan
...
llvm-svn: 167465
2012-11-06 16:19:11 +00:00
Kostya Serebryany
508a128f74
[asan docs] explain why asan exits on the first error
...
llvm-svn: 167004
2012-10-30 05:07:05 +00:00
Daniel Jasper
89cf9370bf
Remove clang-fixit from tools page as it is currently not planned as a
...
separate tool.
Review: http://llvm-reviews.chandlerc.com/D81
llvm-svn: 166766
2012-10-26 10:25:13 +00:00
Alexey Samsonov
78d1210f38
Update docs about TSan availability in CMake build
...
llvm-svn: 166558
2012-10-24 13:34:53 +00:00
Alexey Samsonov
2e3c6e2e40
Fix some wordings in AddressSanitizer docs.
...
llvm-svn: 166557
2012-10-24 13:21:51 +00:00
Andy Gibbs
0fea04509a
Change VerifyDiagnosticConsumer so that it *must* contain at least one "expected-*" directive. As a result, for test-cases that are not expected to generate any diagnostics, an additional directive "expected-no-diagnostics" has been implemented which can then be included in such test-cases. This new directive may not be used in conjunction with any other "expected-*" directive.
...
This change was initially proposed as a solution to the problem highlighted by check-in r164677, i.e. that -verify will not cause a test-case failure where the compile command does not actually reference the file.
Patch reviewed by David Blaikie.
llvm-svn: 166281
2012-10-19 12:49:32 +00:00
Kostya Serebryany
e0fc42580b
[asan] update asan docs to explain more about linking and to mention full support for i386 Linux
...
llvm-svn: 166271
2012-10-19 07:00:46 +00:00
Richard Smith
b815525223
PR14004: Fix typo in documentation.
...
llvm-svn: 165158
2012-10-03 21:02:25 +00:00
John McCall
d014c9e6f7
Update the block specification for some long-settled subleties.
...
llvm-svn: 165090
2012-10-03 04:57:59 +00:00
John McCall
bf4a7d7193
Add the Microsoft __is_interface_class type trait.
...
Patch by Andy Gibbs!
llvm-svn: 164591
2012-09-25 07:32:49 +00:00
Douglas Gregor
55023de547
Fix a typo in the PCH internals documentation
...
llvm-svn: 164409
2012-09-21 20:16:09 +00:00
Alexander Kornienko
66fb1fb073
Added link to HowToSetupToolingForLLVM.html. Added missing #include to the example.
...
llvm-svn: 164226
2012-09-19 15:17:49 +00:00
Alexander Kornienko
f90e2435ba
Added an example of an empty case label to avoid confusion.
...
llvm-svn: 164055
2012-09-17 21:45:21 +00:00
Douglas Gregor
8743b4eece
Update the PCH internals documentation to cover chained precompiled
...
headers and modules in more detail. I'd still like to expand on some
of the modules-related issues further, but this is a decent start.
llvm-svn: 163989
2012-09-16 01:44:02 +00:00
Ted Kremenek
efc32c0857
Fix copy-paste error in manpage. Should be -stdlib=library.
...
llvm-svn: 163914
2012-09-14 17:20:56 +00:00
Ted Kremenek
eedc12a140
Revert "Remove clang man page reference to -Oz. It's not an option we want people to use, and is around for historical reasons."
...
This should be discussed more first.
llvm-svn: 163560
2012-09-10 22:50:05 +00:00
Jordan Rose
c6fcbf06a6
[analyzer] Make the defaults explicit for each of the new config options.
...
Also, document both new inlining options in IPA.txt.
llvm-svn: 163551
2012-09-10 21:54:24 +00:00
Ted Kremenek
8ba803d8d3
Remove clang man page reference to -Oz. It's not an option we want people to use, and is around for historical reasons.
...
llvm-svn: 163538
2012-09-10 20:10:37 +00:00
Manuel Klimek
cc0637c2b6
Adds a first iteration of the basic AST matcher documentation landing page.
...
llvm-svn: 163387
2012-09-07 13:13:53 +00:00