forked from qt-creator/qt-creator
Doc: Reformatting
No text change Change-Id: I0d394d043bc3c878324ed0d18d3a25ecadb00eca Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
This commit is contained in:
@@ -55,9 +55,9 @@
|
|||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
An IDE needs a parser for the language and the semantic
|
An IDE needs a parser for the language and the semantic analyzes. The only
|
||||||
analyzes. The only difference between a code model and a compiler is that a
|
difference between a code model and a compiler is that a code model does not
|
||||||
code model does not generate an executable.
|
generate an executable.
|
||||||
|
|
||||||
As \l{http://clang.llvm.org/}{Clang} is a compiler, as well as a code model,
|
As \l{http://clang.llvm.org/}{Clang} is a compiler, as well as a code model,
|
||||||
it provides accurate information. The feedback you get through warning and
|
it provides accurate information. The feedback you get through warning and
|
||||||
@@ -66,8 +66,8 @@
|
|||||||
Clang focuses on detailed information for diagnostics, which is really
|
Clang focuses on detailed information for diagnostics, which is really
|
||||||
useful if the code contains typos, for example.
|
useful if the code contains typos, for example.
|
||||||
|
|
||||||
Also, Clang already supports C++98/03, C89 and C99, Objective-C
|
Also, Clang already supports C++98/03, C89 and C99, Objective-C (and
|
||||||
(and Objective-C++), and C++11 support is in active development.
|
Objective-C++), and C++11 support is in active development.
|
||||||
|
|
||||||
On the downside, for large projects using Clang as code model is slower than
|
On the downside, for large projects using Clang as code model is slower than
|
||||||
using the built-in code model. Clang does not need to generate object files,
|
using the built-in code model. Clang does not need to generate object files,
|
||||||
@@ -158,8 +158,8 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
|
|
||||||
\li Select \uicontrol Help > \uicontrol {About Plugins} > \uicontrol {C++} >
|
\li Select \uicontrol Help > \uicontrol {About Plugins} >
|
||||||
\uicontrol ClangCodeModel to enable the plugin.
|
\uicontrol {C++} > \uicontrol ClangCodeModel to enable the plugin.
|
||||||
|
|
||||||
\li Restart \QC to be able to use the plugin.
|
\li Restart \QC to be able to use the plugin.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user