summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clangd/CodeCompletionStrings.cpp
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2018-05-16 12:30:09 +0000
committerIlya Biryukov <ibiryukov@google.com>2018-05-16 12:30:09 +0000
commit1ff7c32fc91c607b690d4bb9cf42f406be8dde68 (patch)
treed0381185f45ca8a75734da3f283df9e9432ed125 /clang-tools-extra/clangd/CodeCompletionStrings.cpp
parenta3f955bddb9102eb9813103f76fa76f1db9d1d9d (diff)
downloadbcm5719-llvm-1ff7c32fc91c607b690d4bb9cf42f406be8dde68.tar.gz
bcm5719-llvm-1ff7c32fc91c607b690d4bb9cf42f406be8dde68.zip
[AST] Added a helper to extract a user-friendly text of a comment.
Summary: The helper is used in clangd for documentation shown in code completion and storing the docs in the symbols. See D45999. This patch reuses the code of the Doxygen comment lexer, disabling the bits that do command and html tag parsing. The new helper works on all comments, including non-doxygen comments. However, it does not understand or transform any doxygen directives, i.e. cannot extract brief text, etc. Reviewers: sammccall, hokein, ioeric Reviewed By: ioeric Subscribers: mgorny, cfe-commits Differential Revision: https://reviews.llvm.org/D46000 llvm-svn: 332458
Diffstat (limited to 'clang-tools-extra/clangd/CodeCompletionStrings.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud