aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2021-01-20 09:06:38 +0100
committerRaphael Isemann <teemperor@gmail.com>2021-01-20 09:07:36 +0100
commit3c69ff4b03abaa3b7b80f4f3f2a1c1806e2d4495 (patch)
treedda030a39f33a736dd5fe569bb86978b3b5fa968 /clang/lib/Frontend/CompilerInvocation.cpp
parent7fce3b240b6b313b1becf19ddf3f2a904c34ced2 (diff)
downloadllvm-3c69ff4b03abaa3b7b80f4f3f2a1c1806e2d4495.zip
llvm-3c69ff4b03abaa3b7b80f4f3f2a1c1806e2d4495.tar.gz
llvm-3c69ff4b03abaa3b7b80f4f3f2a1c1806e2d4495.tar.bz2
[lldb][docs] Filter out 'thisown' attribute and inheritance boilerplate
This patch implements a filter that post-processes some of the generated RST sources of the Python API docs. I mainly want to avoid two things: 1. Filter out all the inheritance boilerplate that just keeps mentioning for every class that it inherits from the builtin 'object'. There is no inheritance in the SB API. 2. More importantly, removes the SWIG generated `thisown` attribute from the public documentation. I don't think we want users to mess with that attribute and this is probably causing more confusion than it would help anyone. It also makes the documentation for some smaller classes more verbose than necessary. This patch just uses the sphinx event for reading source and removes the parts that we don't want in documentation. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D94967
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions