summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/bugprone-throw-keyword-missing.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang-tools-extra/docs/clang-tidy/checks/bugprone-throw-keyword-missing.rst b/clang-tools-extra/docs/clang-tidy/checks/bugprone-throw-keyword-missing.rst
index e538ad14d7b..240a62ed6b3 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/bugprone-throw-keyword-missing.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/bugprone-throw-keyword-missing.rst
@@ -10,6 +10,7 @@ object's type derives from (or is the same as) a class that has 'EXCEPTION', 'Ex
Example:
.. code-block:: c++
+
void f(int i) {
if (i < 0) {
// Exception is created but is not thrown.
OpenPOWER on IntegriCloud