2012-12-12 23:02:30 +00:00
|
|
|
.. Clang documentation master file, created by
|
|
|
|
sphinx-quickstart on Sun Dec 9 20:01:55 2012.
|
|
|
|
You can adapt this file completely to your liking, but it should at least
|
|
|
|
contain the root `toctree` directive.
|
|
|
|
|
2013-01-02 21:50:48 +00:00
|
|
|
.. title:: Welcome to Clang's documentation!
|
2012-12-12 23:02:30 +00:00
|
|
|
|
|
|
|
.. toctree::
|
2013-01-02 12:39:50 +00:00
|
|
|
:maxdepth: 1
|
2012-12-12 23:02:30 +00:00
|
|
|
|
2013-01-02 12:41:24 +00:00
|
|
|
ReleaseNotes
|
|
|
|
|
|
|
|
Using Clang as a Compiler
|
2013-01-02 21:50:48 +00:00
|
|
|
=========================
|
2013-01-02 12:41:24 +00:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
UsersManual
|
2013-01-02 21:03:11 +00:00
|
|
|
LanguageExtensions
|
2014-02-19 23:09:37 +00:00
|
|
|
AttributeReference
|
2016-09-12 05:58:29 +00:00
|
|
|
DiagnosticsReference
|
2013-09-08 20:44:39 +00:00
|
|
|
CrossCompilation
|
2014-02-18 19:42:01 +00:00
|
|
|
ThreadSafetyAnalysis
|
2012-12-13 01:10:46 +00:00
|
|
|
AddressSanitizer
|
2012-12-23 18:35:58 +00:00
|
|
|
ThreadSanitizer
|
|
|
|
MemorySanitizer
|
2015-12-04 17:30:29 +00:00
|
|
|
UndefinedBehaviorSanitizer
|
2013-08-14 18:54:18 +00:00
|
|
|
DataFlowSanitizer
|
2013-12-10 20:10:30 +00:00
|
|
|
LeakSanitizer
|
2015-04-23 20:40:04 +00:00
|
|
|
SanitizerCoverage
|
2016-01-16 00:31:22 +00:00
|
|
|
SanitizerStats
|
2013-08-07 08:23:32 +00:00
|
|
|
SanitizerSpecialCaseList
|
2015-02-20 20:30:56 +00:00
|
|
|
ControlFlowIntegrity
|
2016-04-28 17:09:37 +00:00
|
|
|
LTOVisibility
|
2015-06-15 21:08:13 +00:00
|
|
|
SafeStack
|
2016-06-02 00:51:50 +00:00
|
|
|
SourceBasedCodeCoverage
|
2013-03-22 06:21:35 +00:00
|
|
|
Modules
|
2014-02-28 23:46:04 +00:00
|
|
|
MSVCCompatibility
|
2016-09-21 16:57:03 +00:00
|
|
|
ThinLTO
|
Sphinx-based clang man pages
Summary:
This diff introduces .rst files, Sphinx config, and a CMake target
for building clang man pages. This will deprecate the existing .pod-
based man page, and will integrate nicely with CMake. This diff does
not remove the existing man page; that will be done in a follow-up
once packagers have had a chance to react to the change.
For now, only clang(1) has been done; others can be added over time
by dropping additional files into the docs/CommandGuide directory.
The index page for CommandGuide has been copied from LLVM's
docs/CommandGuide.
The man page itself is mostly the same, with a few minor cosmetic
changes. The only major change is the SYNOPSIS section. I was unable
to get .rst/Sphinx produce the same style as in the existing man page.
Instead, I changed it to match the LLVM tools' relatively simple style.
To build the man pages, use the "docs-clang-man" target if building
with CMake. Otherwise, use "make -f Makefile.sphinx man".
Reviewers: cmatthews, silvas
Subscribers: dim, gaeke, beanz, cfe-commits
Differential Revision: http://reviews.llvm.org/D10562
llvm-svn: 241037
2015-06-30 02:52:38 +00:00
|
|
|
CommandGuide/index
|
2013-01-06 13:38:34 +00:00
|
|
|
FAQ
|
2013-01-02 12:41:24 +00:00
|
|
|
|
|
|
|
Using Clang as a Library
|
2013-01-02 21:50:48 +00:00
|
|
|
========================
|
2013-01-02 12:41:24 +00:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
Tooling
|
2013-02-19 17:29:01 +00:00
|
|
|
ExternalClangExamples
|
2013-01-02 12:41:24 +00:00
|
|
|
IntroductionToTheClangAST
|
|
|
|
LibTooling
|
2013-01-09 21:49:28 +00:00
|
|
|
LibFormat
|
2012-12-13 01:10:46 +00:00
|
|
|
ClangPlugins
|
2013-01-02 12:41:24 +00:00
|
|
|
RAVFrontendAction
|
|
|
|
LibASTMatchersTutorial
|
|
|
|
LibASTMatchers
|
2012-12-13 01:10:46 +00:00
|
|
|
HowToSetupToolingForLLVM
|
|
|
|
JSONCompilationDatabase
|
2013-01-02 12:41:24 +00:00
|
|
|
|
2013-01-09 21:49:28 +00:00
|
|
|
Using Clang Tools
|
|
|
|
=================
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
ClangTools
|
|
|
|
ClangCheck
|
|
|
|
ClangFormat
|
2013-09-04 15:09:13 +00:00
|
|
|
ClangFormatStyleOptions
|
2013-01-09 21:49:28 +00:00
|
|
|
|
2013-01-02 12:41:24 +00:00
|
|
|
Design Documents
|
2013-01-02 21:50:48 +00:00
|
|
|
================
|
2013-01-02 12:41:24 +00:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
2012-12-15 20:41:17 +00:00
|
|
|
InternalsManual
|
2012-12-21 00:16:53 +00:00
|
|
|
DriverInternals
|
2013-01-02 12:41:24 +00:00
|
|
|
PTHInternals
|
|
|
|
PCHInternals
|
2016-03-09 19:39:16 +00:00
|
|
|
ItaniumMangleAbiTags
|
2013-01-02 12:41:24 +00:00
|
|
|
|
|
|
|
|
2012-12-12 23:02:30 +00:00
|
|
|
Indices and tables
|
|
|
|
==================
|
|
|
|
|
|
|
|
* :ref:`genindex`
|
|
|
|
* :ref:`modindex`
|
|
|
|
* :ref:`search`
|
|
|
|
|