[clang-tools-extra] 8614674 - Fix underlining in docs to fix the sphinx build

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Sat May 7 04:22:08 PDT 2022


Author: Aaron Ballman
Date: 2022-05-07T07:21:43-04:00
New Revision: 8614674b55669025e349324f31eb11505becede1

URL: https://github.com/llvm/llvm-project/commit/8614674b55669025e349324f31eb11505becede1
DIFF: https://github.com/llvm/llvm-project/commit/8614674b55669025e349324f31eb11505becede1.diff

LOG: Fix underlining in docs to fix the sphinx build

Added: 
    

Modified: 
    clang-tools-extra/docs/clang-tidy/checks/bugprone-unchecked-optional-access.rst

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/docs/clang-tidy/checks/bugprone-unchecked-optional-access.rst b/clang-tools-extra/docs/clang-tidy/checks/bugprone-unchecked-optional-access.rst
index 56ce90c726b2a..9c53c8a6d175f 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/bugprone-unchecked-optional-access.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/bugprone-unchecked-optional-access.rst
@@ -211,7 +211,7 @@ instead, check explicitly that the optional object has a value. For example:
 instead of the `HasProperty`, `GetProperty` pairing we saw above.
 
 Do not rely on caller-performed checks
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 If you know that all of a function's callers have checked that an optional
 argument has a value, either change the function to take the value directly or


        


More information about the cfe-commits mailing list