2012-12-13 07:02:30 +08: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-03 05:50:48 +08:00
|
|
|
.. title:: Welcome to Clang's documentation!
|
2012-12-13 07:02:30 +08:00
|
|
|
|
|
|
|
.. toctree::
|
2013-01-02 20:39:50 +08:00
|
|
|
:maxdepth: 1
|
2012-12-13 07:02:30 +08:00
|
|
|
|
2013-01-02 20:41:24 +08:00
|
|
|
ReleaseNotes
|
|
|
|
|
|
|
|
Using Clang as a Compiler
|
2013-01-03 05:50:48 +08:00
|
|
|
=========================
|
2013-01-02 20:41:24 +08:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
UsersManual
|
2016-10-28 04:55:56 +08:00
|
|
|
Toolchain
|
2013-01-03 05:03:11 +08:00
|
|
|
LanguageExtensions
|
2017-01-25 03:39:46 +08:00
|
|
|
ClangCommandLineReference
|
2014-02-20 07:09:37 +08:00
|
|
|
AttributeReference
|
2016-09-12 13:58:29 +08:00
|
|
|
DiagnosticsReference
|
2013-09-09 04:44:39 +08:00
|
|
|
CrossCompilation
|
2019-02-05 08:39:33 +08:00
|
|
|
ClangStaticAnalyzer
|
2014-02-19 03:42:01 +08:00
|
|
|
ThreadSafetyAnalysis
|
2012-12-13 09:10:46 +08:00
|
|
|
AddressSanitizer
|
2012-12-24 02:35:58 +08:00
|
|
|
ThreadSanitizer
|
|
|
|
MemorySanitizer
|
2015-12-05 01:30:29 +08:00
|
|
|
UndefinedBehaviorSanitizer
|
2013-08-15 02:54:18 +08:00
|
|
|
DataFlowSanitizer
|
2013-12-11 04:10:30 +08:00
|
|
|
LeakSanitizer
|
2015-04-24 04:40:04 +08:00
|
|
|
SanitizerCoverage
|
2016-01-16 08:31:22 +08:00
|
|
|
SanitizerStats
|
2013-08-07 16:23:32 +08:00
|
|
|
SanitizerSpecialCaseList
|
2015-02-21 04:30:56 +08:00
|
|
|
ControlFlowIntegrity
|
2016-04-29 01:09:37 +08:00
|
|
|
LTOVisibility
|
2015-06-16 05:08:13 +08:00
|
|
|
SafeStack
|
2018-04-04 06:33:53 +08:00
|
|
|
ShadowCallStack
|
2016-06-02 08:51:50 +08:00
|
|
|
SourceBasedCodeCoverage
|
2013-03-22 14:21:35 +08:00
|
|
|
Modules
|
2014-03-01 07:46:04 +08:00
|
|
|
MSVCCompatibility
|
2019-10-17 20:56:02 +08:00
|
|
|
OpenCLSupport
|
2018-01-09 03:02:51 +08:00
|
|
|
OpenMPSupport
|
2016-09-22 00:57:03 +08:00
|
|
|
ThinLTO
|
2020-11-03 13:07:15 +08:00
|
|
|
APINotes
|
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 10:52:38 +08:00
|
|
|
CommandGuide/index
|
2013-01-06 21:38:34 +08:00
|
|
|
FAQ
|
2013-01-02 20:41:24 +08:00
|
|
|
|
|
|
|
Using Clang as a Library
|
2013-01-03 05:50:48 +08:00
|
|
|
========================
|
2013-01-02 20:41:24 +08:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
Tooling
|
2013-02-20 01:29:01 +08:00
|
|
|
ExternalClangExamples
|
2013-01-02 20:41:24 +08:00
|
|
|
IntroductionToTheClangAST
|
|
|
|
LibTooling
|
2013-01-10 05:49:28 +08:00
|
|
|
LibFormat
|
2012-12-13 09:10:46 +08:00
|
|
|
ClangPlugins
|
2013-01-02 20:41:24 +08:00
|
|
|
RAVFrontendAction
|
|
|
|
LibASTMatchersTutorial
|
|
|
|
LibASTMatchers
|
2019-08-06 17:52:21 +08:00
|
|
|
LibASTImporter
|
2012-12-13 09:10:46 +08:00
|
|
|
HowToSetupToolingForLLVM
|
|
|
|
JSONCompilationDatabase
|
2017-09-29 20:21:38 +08:00
|
|
|
RefactoringEngine
|
2013-01-02 20:41:24 +08:00
|
|
|
|
2013-01-10 05:49:28 +08:00
|
|
|
Using Clang Tools
|
|
|
|
=================
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
ClangTools
|
|
|
|
ClangCheck
|
|
|
|
ClangFormat
|
2013-09-04 23:09:13 +08:00
|
|
|
ClangFormatStyleOptions
|
[clang-format] Create a python documentation tool to generate a summary of the clang-format status for the whole of the LLVM project
Summary:
Any change to clang-format is tested with the unit tests, However sometimes the better approach is to run it over a very large fully formatted source tree and then inspect the differences. This seems to be a source of many of the regressions found by @krasimir and by @sylvestre.ledru and @Abpostelnicu who run it over the Mozilla sources, but often these regressions are only found after changes have been committed.
LLVM itself would be a good dog-fooding candidate for similar tests except such a large proportion of the tree is not 100% clang formatted, as such you are never aware if the change comes from a change to clang-format or just because the tree has not been formatted first.
The following review is for a small python tool which scans the whole of the LLVM source tree and counts the number of files which have one or more clang-format violations.
This revision contains the tool and the output from the initial run of the tool and the generated documentation which looks like the following
Reviewers: krasimir, JakeMerdichAMD, sammccall, curdeius, bollu, alexshap, jdoerfert, DavidTruby, sscalpone
Reviewed By: curdeius
Subscribers: dschuff, aheejin, fedor.sergeev, ilya-biryukov, simoncook, cryptoad, arphaman, jfb, kadircet, mstorsjo, s.egerton, usaxena95, aartbik, phosek, sstefan1, cfe-commits, sylvestre.ledru, Abpostelnicu, krasimir
Tags: #clang, #clang-format
Differential Revision: https://reviews.llvm.org/D80627
2020-05-30 03:25:12 +08:00
|
|
|
ClangFormattedStatus
|
2020-12-02 10:07:07 +08:00
|
|
|
ClangOffloadBundler
|
2013-01-10 05:49:28 +08:00
|
|
|
|
2013-01-02 20:41:24 +08:00
|
|
|
Design Documents
|
2013-01-03 05:50:48 +08:00
|
|
|
================
|
2013-01-02 20:41:24 +08:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
2012-12-16 04:41:17 +08:00
|
|
|
InternalsManual
|
2012-12-21 08:16:53 +08:00
|
|
|
DriverInternals
|
2013-01-02 20:41:24 +08:00
|
|
|
PCHInternals
|
2016-03-10 03:39:16 +08:00
|
|
|
ItaniumMangleAbiTags
|
2017-12-05 04:01:38 +08:00
|
|
|
HardwareAssistedAddressSanitizerDesign.rst
|
[Clang Interpreter] Initial patch for the constexpr interpreter
Summary:
This patch introduces the skeleton of the constexpr interpreter,
capable of evaluating a simple constexpr functions consisting of
if statements. The interpreter is described in more detail in the
RFC. Further patches will add more features.
Reviewers: Bigcheese, jfb, rsmith
Subscribers: bruno, uenoku, ldionne, Tyker, thegameg, tschuett, dexonsmith, mgorny, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D64146
llvm-svn: 371834
2019-09-13 17:46:16 +08:00
|
|
|
ConstantInterpreter
|
2013-01-02 20:41:24 +08:00
|
|
|
|
|
|
|
|
2012-12-13 07:02:30 +08:00
|
|
|
Indices and tables
|
|
|
|
==================
|
|
|
|
|
|
|
|
* :ref:`genindex`
|
|
|
|
* :ref:`modindex`
|
|
|
|
* :ref:`search`
|
|
|
|
|