Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-doc.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-doc.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-doc.rst @@ -20,10 +20,10 @@ ===== :program:`clang-doc` is a `LibTooling -`_-based tool, and so requires a +`_-based tool, and so requires a compile command database for your project (for an example of how to do this see `How To Setup Tooling For LLVM -`_). +`_). The tool can be used on a single file or multiple files as defined in the compile commands database: Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-rename.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-rename.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-rename.rst @@ -24,10 +24,10 @@ ================== :program:`clang-rename` is a `LibTooling -`_-based tool, and it's easier to +`_-based tool, and it's easier to work with if you set up a compile command database for your project (for an example of how to do this see `How To Setup Tooling For LLVM -`_). You can also +`_). You can also specify compilation options on the command line after `--`: .. code-block:: console @@ -140,7 +140,7 @@ You can call :program:`clang-rename` directly from Vim! To set up :program:`clang-rename` integration for Vim see `clang-rename/tool/clang-rename.py -`_. +`_. Please note that **you have to save all buffers, in which the replacement will happen before running the tool**. @@ -157,7 +157,7 @@ You can also use :program:`clang-rename` while using Emacs! To set up :program:`clang-rename` integration for Emacs see `clang-rename/tool/clang-rename.el -`_. +`_. Once installed, you can point your cursor to symbols you want to rename, press `M-X`, type `clang-rename` and new desired name. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy.rst @@ -3,4 +3,4 @@ .. meta:: :http-equiv=refresh: 0;URL='clang-tidy/' -clang-tidy documentation has moved here: http://clang.llvm.org/extra/clang-tidy/ +clang-tidy documentation has moved here: https://clang.llvm.org/extra/clang-tidy/ Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/Integrations.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/Integrations.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/Integrations.rst @@ -64,7 +64,7 @@ output to provide a list of issues. .. _QtCreator: https://www.qt.io/ -.. _Clang Code Model: http://doc.qt.io/qtcreator/creator-clang-codemodel.html +.. _Clang Code Model: https://doc.qt.io/qtcreator/creator-clang-codemodel.html QtCreator_ 4.6 integrates :program:`clang-tidy` warnings into the editor diagnostics under the `Clang Code Model`_. To employ :program:`clang-tidy` Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/cppcoreguidelines-avoid-goto.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/cppcoreguidelines-avoid-goto.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/cppcoreguidelines-avoid-goto.rst @@ -8,7 +8,7 @@ This check implements `ES.76 `_ from the CppCoreGuidelines and -`6.3.1 from High Integrity C++ `_. +`6.3.1 from High Integrity C++ `_. For more information on why to avoid programming with ``goto`` you can read the famous paper `A Case against the GO TO Statement. `_. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/google-objc-avoid-throwing-exception.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/google-objc-avoid-throwing-exception.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/google-objc-avoid-throwing-exception.rst @@ -36,4 +36,4 @@ } The corresponding style guide rule: -http://google.github.io/styleguide/objcguide.html#avoid-throwing-exceptions +https://google.github.io/styleguide/objcguide.html#avoid-throwing-exceptions Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/google-objc-global-variable-declaration.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/google-objc-global-variable-declaration.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/google-objc-global-variable-declaration.rst @@ -7,7 +7,7 @@ pattern of variable names in Google's Objective-C Style Guide. The corresponding style guide rule: -http://google.github.io/styleguide/objcguide.html#variable-names +https://google.github.io/styleguide/objcguide.html#variable-names All the global variables should follow the pattern of `g[A-Z].*` (variables) or `k[A-Z].*` (constants). The check will suggest a variable name that follows the Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-avoid-goto.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-avoid-goto.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-avoid-goto.rst @@ -5,7 +5,7 @@ The `hicpp-avoid-goto` check is an alias to `cppcoreguidelines-avoid-goto `_. -Rule `6.3.1 High Integrity C++ `_ +Rule `6.3.1 High Integrity C++ `_ requires that ``goto`` only skips parts of a block and is not used for other reasons. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-braces-around-statements.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-braces-around-statements.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-braces-around-statements.rst @@ -8,4 +8,4 @@ The `hicpp-braces-around-statements` check is an alias, please see `readability-braces-around-statements `_ for more information. -It enforces the `rule 6.1.1 `_. +It enforces the `rule 6.1.1 `_. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-deprecated-headers.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-deprecated-headers.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-deprecated-headers.rst @@ -8,4 +8,4 @@ The `hicpp-deprecated-headers` check is an alias, please see `modernize-deprecated-headers `_ for more information. -It enforces the `rule 1.3.3 `_. +It enforces the `rule 1.3.3 `_. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-exception-baseclass.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-exception-baseclass.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-exception-baseclass.rst @@ -6,7 +6,7 @@ Ensure that every value that in a ``throw`` expression is an instance of ``std::exception``. -This enforces `rule 15.1 `_ +This enforces `rule 15.1 `_ of the High Integrity C++ Coding Standard. .. code-block:: c++ Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-explicit-conversions.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-explicit-conversions.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-explicit-conversions.rst @@ -6,7 +6,7 @@ ========================== This check is an alias for `google-explicit-constructor `_. -Used to enforce parts of `rule 5.4.1 `_. +Used to enforce parts of `rule 5.4.1 `_. This check will enforce that constructors and conversion operators are marked `explicit`. Other forms of casting checks are implemented in other places. The following checks can be used to check for more forms of casting: Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-function-size.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-function-size.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-function-size.rst @@ -8,6 +8,6 @@ This check is an alias for `readability-function-size `_. Useful to enforce multiple sections on function complexity. -- `rule 8.2.2 `_ -- `rule 8.3.1 `_ -- `rule 8.3.2 `_ +- `rule 8.2.2 `_ +- `rule 8.3.1 `_ +- `rule 8.3.2 `_ Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-invalid-access-moved.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-invalid-access-moved.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-invalid-access-moved.rst @@ -7,4 +7,4 @@ This check is an alias for `bugprone-use-after-move `_. -Implements parts of the `rule 8.4.1 `_ to check if moved-from objects are accessed. +Implements parts of the `rule 8.4.1 `_ to check if moved-from objects are accessed. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-member-init.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-member-init.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-member-init.rst @@ -7,5 +7,5 @@ This check is an alias for `cppcoreguidelines-pro-type-member-init `_. Implements the check for -`rule 12.4.2 `_ +`rule 12.4.2 `_ to initialize class members in the right order. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-move-const-arg.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-move-const-arg.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-move-const-arg.rst @@ -7,4 +7,4 @@ The `hicpp-move-const-arg` check is an alias, please see `performance-move-const-arg `_ for more information. -It enforces the `rule 17.3.1 `_. +It enforces the `rule 17.3.1 `_. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-multiway-paths-covered.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-multiway-paths-covered.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-multiway-paths-covered.rst @@ -5,8 +5,8 @@ This check discovers situations where code paths are not fully-covered. It furthermore suggests using ``if`` instead of ``switch`` if the code will be more clear. -The `rule 6.1.2 `_ -and `rule 6.1.4 `_ +The `rule 6.1.2 `_ +and `rule 6.1.4 `_ of the High Integrity C++ Coding Standard are enforced. ``if-else if`` chains that miss a final ``else`` branch might lead to unexpected @@ -57,7 +57,7 @@ } -The `rule 6.1.4 `_ +The `rule 6.1.4 `_ requires every ``switch`` statement to have at least two ``case`` labels other than a `default` label. Otherwise, the ``switch`` could be better expressed with an ``if`` statement. Degenerated ``switch`` statements without any labels are caught as well. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-named-parameter.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-named-parameter.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-named-parameter.rst @@ -7,4 +7,4 @@ This check is an alias for `readability-named-parameter `_. -Implements `rule 8.2.1 `_. +Implements `rule 8.2.1 `_. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-new-delete-operators.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-new-delete-operators.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-new-delete-operators.rst @@ -6,5 +6,5 @@ ========================== This check is an alias for `misc-new-delete-overloads `_. -Implements `rule 12.3.1 `_ to ensure +Implements `rule 12.3.1 `_ to ensure the `new` and `delete` operators have the correct signature. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-no-array-decay.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-no-array-decay.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-no-array-decay.rst @@ -8,4 +8,4 @@ The `hicpp-no-array-decay` check is an alias, please see `cppcoreguidelines-pro-bounds-array-to-pointer-decay `_ for more information. -It enforces the `rule 4.1.1 `_. +It enforces the `rule 4.1.1 `_. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-no-assembler.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-no-assembler.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-no-assembler.rst @@ -6,5 +6,5 @@ Check for assembler statements. No fix is offered. Inline assembler is forbidden by the `High Intergrity C++ Coding Standard -`_ +`_ as it restricts the portability of code. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-no-malloc.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-no-malloc.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-no-malloc.rst @@ -8,4 +8,4 @@ The `hicpp-no-malloc` check is an alias, please see `cppcoreguidelines-no-malloc `_ for more information. -It enforces the `rule 5.3.2 `_. +It enforces the `rule 5.3.2 `_. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-noexcept-move.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-noexcept-move.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-noexcept-move.rst @@ -6,4 +6,4 @@ =================== This check is an alias for `misc-noexcept-moveconstructor `_. -Checks `rule 12.5.4 `_ to mark move assignment and move construction `noexcept`. +Checks `rule 12.5.4 `_ to mark move assignment and move construction `noexcept`. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-signed-bitwise.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-signed-bitwise.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-signed-bitwise.rst @@ -6,4 +6,4 @@ Finds uses of bitwise operations on signed integer types, which may lead to undefined or implementation defined behaviour. -The according rule is defined in the `High Integrity C++ Standard, Section 5.6.1 `_. +The according rule is defined in the `High Integrity C++ Standard, Section 5.6.1 `_. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-special-member-functions.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-special-member-functions.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-special-member-functions.rst @@ -6,4 +6,4 @@ ============================== This check is an alias for `cppcoreguidelines-special-member-functions `_. -Checks that special member functions have the correct signature, according to `rule 12.5.7 `_. +Checks that special member functions have the correct signature, according to `rule 12.5.7 `_. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-static-assert.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-static-assert.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-static-assert.rst @@ -7,4 +7,4 @@ The `hicpp-static-assert` check is an alias, please see `misc-static-assert `_ for more information. -It enforces the `rule 7.1.10 `_. +It enforces the `rule 7.1.10 `_. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-undelegated-constructor.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-undelegated-constructor.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-undelegated-constructor.rst @@ -6,7 +6,7 @@ ============================= This check is an alias for `bugprone-undelegated-constructor `_. -Partially implements `rule 12.4.5 `_ +Partially implements `rule 12.4.5 `_ to find misplaced constructor calls inside a constructor. .. code-block:: c++ Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-use-auto.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-use-auto.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-use-auto.rst @@ -7,4 +7,4 @@ The `hicpp-use-auto` check is an alias, please see `modernize-use-auto `_ for more information. -It enforces the `rule 7.1.8 `_. +It enforces the `rule 7.1.8 `_. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-use-emplace.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-use-emplace.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-use-emplace.rst @@ -7,4 +7,4 @@ The `hicpp-use-emplace` check is an alias, please see `modernize-use-emplace `_ for more information. -It enforces the `rule 17.4.2 `_. +It enforces the `rule 17.4.2 `_. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-use-equals-default.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-use-equals-default.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-use-equals-default.rst @@ -6,4 +6,4 @@ ======================== This check is an alias for `modernize-use-equals-default `_. -Implements `rule 12.5.1 `_ to explicitly default special member functions. +Implements `rule 12.5.1 `_ to explicitly default special member functions. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-use-equals-delete.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-use-equals-delete.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-use-equals-delete.rst @@ -6,5 +6,5 @@ ======================= This check is an alias for `modernize-use-equals-delete `_. -Implements `rule 12.5.1 `_ +Implements `rule 12.5.1 `_ to explicitly default or delete special member functions. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-use-noexcept.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-use-noexcept.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-use-noexcept.rst @@ -7,4 +7,4 @@ The `hicpp-use-noexcept` check is an alias, please see `modernize-use-noexcept `_ for more information. -It enforces the `rule 1.3.5 `_. +It enforces the `rule 1.3.5 `_. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-use-nullptr.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-use-nullptr.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-use-nullptr.rst @@ -7,4 +7,4 @@ The `hicpp-use-nullptr` check is an alias, please see `modernize-use-nullptr `_ for more information. -It enforces the `rule 2.5.3 `_. +It enforces the `rule 2.5.3 `_. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-use-override.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-use-override.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-use-override.rst @@ -6,5 +6,5 @@ ================== This check is an alias for `modernize-use-override `_. -Implements `rule 10.2.1 `_ to +Implements `rule 10.2.1 `_ to declare a virtual function `override` when overriding. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-vararg.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-vararg.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp-vararg.rst @@ -8,4 +8,4 @@ The `hicpp-vararg` check is an alias, please see `cppcoreguidelines-pro-type-vararg `_ for more information. -It enforces the `rule 14.1.1 `_. +It enforces the `rule 14.1.1 `_. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/llvm-include-order.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/llvm-include-order.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/llvm-include-order.rst @@ -6,4 +6,4 @@ Checks the correct order of ``#includes``. -See http://llvm.org/docs/CodingStandards.html#include-style +See https://llvm.org/docs/CodingStandards.html#include-style Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/llvm-namespace-comment.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/llvm-namespace-comment.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/llvm-namespace-comment.rst @@ -8,7 +8,7 @@ Checks that long namespaces have a closing comment. -http://llvm.org/docs/CodingStandards.html#namespace-indentation +https://llvm.org/docs/CodingStandards.html#namespace-indentation https://google.github.io/styleguide/cppguide.html#Namespaces Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/modernize-pass-by-value.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/modernize-pass-by-value.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/modernize-pass-by-value.rst @@ -144,7 +144,7 @@ + C(std::string S) : S(std::move(S)) {} }; -.. _Clang Compiler User’s Manual - Microsoft extensions: http://clang.llvm.org/docs/UsersManual.html#microsoft-extensions +.. _Clang Compiler User’s Manual - Microsoft extensions: https://clang.llvm.org/docs/UsersManual.html#microsoft-extensions .. seealso:: Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/modernize-use-emplace.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/modernize-use-emplace.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/modernize-use-emplace.rst @@ -10,7 +10,7 @@ Right now the check doesn't support ``push_front`` and ``insert``. It also doesn't support ``insert`` functions for associative containers because replacing ``insert`` with ``emplace`` may result in -`speed regression `_, but it might get support with some addition flag in the future. +`speed regression `_, but it might get support with some addition flag in the future. By default only ``std::vector``, ``std::deque``, ``std::list`` are considered. This list can be modified using the :option:`ContainersWithPushBack` option. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/portability-simd-intrinsics.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/portability-simd-intrinsics.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/portability-simd-intrinsics.rst @@ -46,4 +46,4 @@ The namespace used to suggest `P0214`_ alternatives. If not specified, `std::` for `-std=c++2a` and `std::experimental::` for `-std=c++11`. -.. _P0214: http://wg21.link/p0214 +.. _P0214: https://wg21.link/p0214 Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/readability-else-after-return.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/readability-else-after-return.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/readability-else-after-return.rst @@ -3,7 +3,7 @@ readability-else-after-return ============================= -`LLVM Coding Standards `_ advises to +`LLVM Coding Standards `_ advises to reduce indentation where possible and where it makes understanding code easier. Early exit is one of the suggested enforcements of that. Please do not use ``else`` or ``else if`` after something that interrupts control flow - like @@ -61,4 +61,4 @@ This check helps to enforce this `LLVM Coding Standards recommendation -`_. +`_. Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/readability-magic-numbers.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/readability-magic-numbers.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/checks/readability-magic-numbers.rst @@ -9,8 +9,8 @@ Many coding guidelines advise replacing the magic values with symbolic constants to improve readability. Here are a few references: - * `Rule ES.45: Avoid “magic constants”; use symbolic constants in C++ Core Guidelines `_ - * `Rule 5.1.1 Use symbolic names instead of literal values in code in High Integrity C++ `_ + * `Rule ES.45: Avoid “magic constants”; use symbolic constants in C++ Core Guidelines `_ + * `Rule 5.1.1 Use symbolic names instead of literal values in code in High Integrity C++ `_ * Item 17 in "C++ Coding Standards: 101 Rules, Guidelines and Best Practices" by Herb Sutter and Andrei Alexandrescu * Chapter 17 in "Clean Code - A handbook of agile software craftsmanship." Index: llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/index.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/index.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clang-tidy/index.rst @@ -225,7 +225,7 @@ CMake option to get this output). When no build path is specified, a search for compile_commands.json will be attempted through all parent paths of the first input file . See: - http://clang.llvm.org/docs/HowToSetupToolingForLLVM.html for an + https://clang.llvm.org/docs/HowToSetupToolingForLLVM.html for an example of setting up Clang Tooling on a source tree. ... specify the paths of source files. These paths are @@ -310,5 +310,5 @@ ``NOLINT``/``NOLINTNEXTLINE``), whereas in check names list (inside the parenthesis) whitespaces can be used and will be ignored. -.. _LibTooling: http://clang.llvm.org/docs/LibTooling.html -.. _How To Setup Tooling For LLVM: http://clang.llvm.org/docs/HowToSetupToolingForLLVM.html +.. _LibTooling: https://clang.llvm.org/docs/LibTooling.html +.. _How To Setup Tooling For LLVM: https://clang.llvm.org/docs/HowToSetupToolingForLLVM.html Index: llvm-svn.src/tools/clang/tools/extra/docs/clangd.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/clangd.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/clangd.rst @@ -31,7 +31,7 @@ ================== Packages are available for debian-based distributions, see the `LLVM packages -page `_. :program:`Clangd` is included in the +page `_. :program:`Clangd` is included in the `clang-tools` package. However, it is a good idea to check your distribution's packaging system first as it might already be available. @@ -147,14 +147,14 @@ ================== A good place for interested contributors is the `Clangd developer mailing list -`_. For discussions with the +`_. For discussions with the broader community on topics not only related to Clangd, use `Clang developer mailing list -`_. +`_. If you're also interested in contributing patches to :program:`Clangd`, take a look at the `LLVM Developer Policy -`_ and `Code Reviews -`_ page. Contributions of new features +`_ and `Code Reviews +`_ page. Contributions of new features to the `Language Server Protocol `_ itself would also be very useful, so that :program:`Clangd` can eventually implement them in a Index: llvm-svn.src/tools/clang/tools/extra/docs/include-fixer.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/include-fixer.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/include-fixer.rst @@ -32,7 +32,7 @@ ``compile_commands.json`` as generated by CMake does not include header files, so only implementation files can be handled by tools. -.. _How To Setup Tooling For LLVM: http://clang.llvm.org/docs/HowToSetupToolingForLLVM.html +.. _How To Setup Tooling For LLVM: https://clang.llvm.org/docs/HowToSetupToolingForLLVM.html Creating a Symbol Index From a Compilation Database --------------------------------------------------- Index: llvm-svn.src/tools/clang/tools/extra/docs/modularize.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/modularize.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/modularize.rst @@ -42,9 +42,9 @@ Before continuing, take a look at :doc:`ModularizeUsage` to see how to invoke modularize. -.. _Getting Started with the LLVM System: http://llvm.org/docs/GettingStarted.html -.. _Building LLVM with CMake: http://llvm.org/docs/CMake.html -.. _Clang Tools Documentation: http://clang.llvm.org/docs/ClangTools.html +.. _Getting Started with the LLVM System: https://llvm.org/docs/GettingStarted.html +.. _Building LLVM with CMake: https://llvm.org/docs/CMake.html +.. _Clang Tools Documentation: https://clang.llvm.org/docs/ClangTools.html What Modularize Checks ====================== @@ -262,4 +262,4 @@ prepended to the name. For example, if the header name is ``header.h``, because ``header`` is a keyword, the module name will be ``_header``. For a list of the module map keywords, please see: -`Lexical structure `_ +`Lexical structure `_ Index: llvm-svn.src/tools/clang/tools/extra/docs/pp-trace.rst =================================================================== --- llvm-svn.src/tools/clang/tools/extra/docs/pp-trace.rst +++ llvm-svn.src/tools/clang/tools/extra/docs/pp-trace.rst @@ -11,7 +11,7 @@ activity. It's also used as a test of Clang's PPCallbacks interface. It runs a given source file through the Clang preprocessor, displaying selected information from callback functions overridden in a -`PPCallbacks `_ +`PPCallbacks `_ derivation. The output is in a high-level YAML format, described in :ref:`OutputFormat`. @@ -32,7 +32,7 @@ ```` specifies the source file to run through the preprocessor. ```` is a place-holder for regular -`Clang Compiler Options `_, +`Clang Compiler Options `_, which must follow the . .. _CommandLineOptions: @@ -88,7 +88,7 @@ pp-trace Output Format ====================== -The pp-trace output is formatted as YAML. See http://yaml.org/ for general +The pp-trace output is formatted as YAML. See https://yaml.org/ for general YAML information. It's arranged as a sequence of information about the callback call, including the callback name and argument information, for example::: @@ -150,8 +150,8 @@ value, only some key member or members are shown to represent the value, instead of trying to display all members of the structure. -`FileChanged `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`FileChanged `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileChanged is called when the preprocessor enters or exits a file, both the top level file being compiled, as well as any #include directives. It will @@ -177,8 +177,8 @@ FileType: C_User PrevFID: (invalid) -`FileSkipped `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`FileSkipped `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileSkipped is called when a source file is skipped as the result of header guard optimization. @@ -200,8 +200,8 @@ FilenameTok: "filename.h" FileType: C_User -`FileNotFound `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`FileNotFound `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFound is called when an inclusion directive results in a file-not-found error. @@ -220,8 +220,8 @@ FileName: "/path/filename.h" RecoveryPath: -`InclusionDirective `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`InclusionDirective `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ InclusionDirective is called when an inclusion directive of any kind (#include, #import, etc.) has been processed, regardless of whether the inclusion will actually result in an inclusion. @@ -253,8 +253,8 @@ RelativePath: "Input/Level1B.h" Imported: (null) -`moduleImport `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`moduleImport `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ moduleImport is called when there was an explicit module-import syntax. @@ -275,8 +275,8 @@ Path: [{Name: Level1B, Loc: "d:/Clang/llvmnewmod/tools/clang/tools/extra/test/pp-trace/pp-trace-modules.cpp:4:9"}, {Name: Level2B, Loc: "d:/Clang/llvmnewmod/tools/clang/tools/extra/test/pp-trace/pp-trace-modules.cpp:4:17"}] Imported: Level2B -`EndOfMainFile `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`EndOfMainFile `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ EndOfMainFile is called when the end of the main file is reached. @@ -292,8 +292,8 @@ - Callback: EndOfMainFile -`Ident `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`Ident `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Ident is called when a #ident or #sccs directive is read. @@ -312,8 +312,8 @@ Loc: "D:/Clang/llvm/tools/clang/tools/extra/test/pp-trace/pp-trace-ident.cpp:3:1" str: "$Id$" -`PragmaDirective `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`PragmaDirective `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PragmaDirective is called when start reading any pragma directive. @@ -332,8 +332,8 @@ Loc: "D:/Clang/llvm/tools/clang/tools/extra/test/pp-trace/pp-trace-pragma.cpp:3:1" Introducer: PIK_HashPragma -`PragmaComment `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`PragmaComment `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PragmaComment is called when a #pragma comment directive is read. @@ -354,8 +354,8 @@ Kind: library Str: kernel32.lib -`PragmaDetectMismatch `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`PragmaDetectMismatch `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PragmaDetectMismatch is called when a #pragma detect_mismatch directive is read. @@ -376,8 +376,8 @@ Name: name Value: value -`PragmaDebug `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`PragmaDebug `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PragmaDebug is called when a #pragma clang __debug directive is read. @@ -396,8 +396,8 @@ Loc: "D:/Clang/llvm/tools/clang/tools/extra/test/pp-trace/pp-trace-pragma.cpp:3:1" DebugType: warning -`PragmaMessage `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`PragmaMessage `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PragmaMessage is called when a #pragma message directive is read. @@ -420,8 +420,8 @@ Kind: PMK_Message Str: The message text. -`PragmaDiagnosticPush `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`PragmaDiagnosticPush `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PragmaDiagnosticPush is called when a #pragma gcc dianostic push directive is read. @@ -440,7 +440,7 @@ Loc: "D:/Clang/llvm/tools/clang/tools/extra/test/pp-trace/pp-trace-pragma.cpp:3:1" Namespace: "GCC" -`PragmaDiagnosticPop `_ Callback +`PragmaDiagnosticPop `_ Callback ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PragmaDiagnosticPop is called when a #pragma gcc dianostic pop directive is read. @@ -460,8 +460,8 @@ Loc: "D:/Clang/llvm/tools/clang/tools/extra/test/pp-trace/pp-trace-pragma.cpp:3:1" Namespace: "GCC" -`PragmaDiagnostic `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`PragmaDiagnostic `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PragmaDiagnostic is called when a #pragma gcc dianostic directive is read. @@ -484,8 +484,8 @@ mapping: MAP_WARNING Str: WarningName -`PragmaOpenCLExtension `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`PragmaOpenCLExtension `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PragmaOpenCLExtension is called when OpenCL extension is either disabled or enabled with a pragma. @@ -508,8 +508,8 @@ StateLoc: "D:/Clang/llvm/tools/clang/tools/extra/test/pp-trace/pp-trace-pragma.cpp:3:18" State: 1 -`PragmaWarning `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`PragmaWarning `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PragmaWarning is called when a #pragma warning directive is read. @@ -530,8 +530,8 @@ WarningSpec: disable Ids: 1,2,3 -`PragmaWarningPush `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`PragmaWarningPush `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PragmaWarningPush is called when a #pragma warning(push) directive is read. @@ -550,8 +550,8 @@ Loc: "D:/Clang/llvm/tools/clang/tools/extra/test/pp-trace/pp-trace-pragma.cpp:3:1" Level: 1 -`PragmaWarningPop `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`PragmaWarningPop `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PragmaWarningPop is called when a #pragma warning(pop) directive is read. @@ -568,8 +568,8 @@ - Callback: PragmaWarningPop Loc: "D:/Clang/llvm/tools/clang/tools/extra/test/pp-trace/pp-trace-pragma.cpp:3:1" -`MacroExpands `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`MacroExpands `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ MacroExpands is called when ::HandleMacroExpandedIdentifier when a macro invocation is found. @@ -592,8 +592,8 @@ Range: [(nonfile), (nonfile)] Args: [a y, b] -`MacroDefined `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`MacroDefined `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ MacroDefined is called when a macro definition is seen. @@ -612,8 +612,8 @@ MacroNameTok: X_IMPL MacroDirective: MD_Define -`MacroUndefined `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`MacroUndefined `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ MacroUndefined is called when a macro #undef is seen. @@ -632,8 +632,8 @@ MacroNameTok: X_IMPL MacroDirective: MD_Define -`Defined `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`Defined `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Defined is called when the 'defined' operator is seen. @@ -654,8 +654,8 @@ MacroDirective: (null) Range: ["D:/Clang/llvm/tools/clang/tools/extra/test/pp-trace/pp-trace-macro.cpp:8:5", "D:/Clang/llvm/tools/clang/tools/extra/test/pp-trace/pp-trace-macro.cpp:8:19"] -`SourceRangeSkipped `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`SourceRangeSkipped `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SourceRangeSkipped is called when a source range is skipped. @@ -672,8 +672,8 @@ - Callback: SourceRangeSkipped Range: [":/Clang/llvm/tools/clang/tools/extra/test/pp-trace/pp-trace-macro.cpp:8:2", ":/Clang/llvm/tools/clang/tools/extra/test/pp-trace/pp-trace-macro.cpp:9:2"] -`If `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`If `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If is called when an #if is seen. @@ -694,8 +694,8 @@ ConditionRange: ["D:/Clang/llvm/tools/clang/tools/extra/test/pp-trace/pp-trace-macro.cpp:8:4", "D:/Clang/llvm/tools/clang/tools/extra/test/pp-trace/pp-trace-macro.cpp:9:1"] ConditionValue: false -`Elif `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`Elif `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Elif is called when an #elif is seen. @@ -718,8 +718,8 @@ ConditionValue: false IfLoc: "D:/Clang/llvm/tools/clang/tools/extra/test/pp-trace/pp-trace-macro.cpp:8:2" -`Ifdef `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`Ifdef `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Ifdef is called when an #ifdef is seen. @@ -740,8 +740,8 @@ MacroNameTok: MACRO MacroDirective: MD_Define -`Ifndef `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`Ifndef `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Ifndef is called when an #ifndef is seen. @@ -762,8 +762,8 @@ MacroNameTok: MACRO MacroDirective: MD_Define -`Else `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`Else `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Else is called when an #else is seen. @@ -782,8 +782,8 @@ Loc: "D:/Clang/llvm/tools/clang/tools/extra/test/pp-trace/pp-trace-macro.cpp:10:2" IfLoc: "D:/Clang/llvm/tools/clang/tools/extra/test/pp-trace/pp-trace-macro.cpp:8:2" -`Endif `_ Callback -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`Endif `_ Callback +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Endif is called when an #endif is seen. @@ -819,7 +819,7 @@ * If using CMake, you can also use the ``pp-trace`` target to build just the pp-trace tool and its dependencies. -.. _Getting Started with the LLVM System: http://llvm.org/docs/GettingStarted.html -.. _Building LLVM with CMake: http://llvm.org/docs/CMake.html -.. _Clang Tools Documentation: http://clang.llvm.org/docs/ClangTools.html +.. _Getting Started with the LLVM System: https://llvm.org/docs/GettingStarted.html +.. _Building LLVM with CMake: https://llvm.org/docs/CMake.html +.. _Clang Tools Documentation: https://clang.llvm.org/docs/ClangTools.html