llvm-project/clang/lib
Aaron Puchert 196554d42d Comment parsing: Complete list of Doxygen commands
These should be all the commands from [1] except those that are marked
obsolete, and "link" / "endlink", as that conflicts with the existing
HeaderDoc pair "link / "/link". For some commands we don't have the
ideal category, but it should work good enough for most cases.

There seems to be no existing test for most commands (except the ones
interpreted by -Wdocumentation), and to some extent such a test wouldn't
look very interesting. But I added a test for the correct parsing of
formulas, as they're a bit special. And I had to adapt
comment-lots-of-unknown-commands.c because typo correction was kicking
in and recognizing some of the commands.

This should fix a couple of reported bugs: PR17437, PR19581, PR24062
(partially, no diagnostic for matching cond/endcond), PR32909, PR37813,
PR44243 (partially, email@domain.com must be addressed separately).

[1] https://www.doxygen.nl/manual/commands.html

Reviewed By: gribozavr2

Differential Revision: https://reviews.llvm.org/D111190
2021-11-09 18:35:26 +01:00
..
APINotes [clang][APINotes] Fix -Wunused-function warning (NFC) 2021-04-01 09:52:43 +08:00
ARCMigrate [clang] [Objective C] Inclusive language: use objcmt-allowlist-dir-path=<arg> instead of objcmt-white-list-dir-path=<arg> 2021-11-05 12:27:05 -04:00
AST Comment parsing: Complete list of Doxygen commands 2021-11-09 18:35:26 +01:00
ASTMatchers [ASTMatcher] Provide a definition for the lambdaCapture matcher 2021-11-08 20:26:37 +01:00
Analysis [AST, Analysis] Use llvm::reverse (NFC) 2021-11-07 09:53:14 -08:00
Basic [clang] GCC directive extension extension: Hash NNN lines 2021-11-09 07:31:03 -08:00
CodeGen Initial parsing/sema for 'align' clause 2021-11-09 07:34:18 -05:00
CrossTU PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -07:00
DirectoryWatcher [clang] [DirectoryWatcher] Remove leading \\?\ from GetFinalPathNameByHandleW 2021-11-08 22:21:30 +02:00
Driver [ARM] reject -mtp=cp15 if target subarch does not support it 2021-11-09 18:29:30 +01:00
Edit [clang] Use llvm::is_contained (NFC) 2021-10-13 20:41:55 -07:00
Format [NFC] Inclusive language: Remove instances of master in URLs 2021-11-05 08:48:41 -05:00
Frontend [SPIR-V] Add SPIR-V triple and clang target info. 2021-11-08 13:34:10 +00:00
FrontendTool [clang] Add plugin ActionType to run command line plugin before main action 2021-10-20 08:58:20 -07:00
Headers Revert "[OpenCL] Allow optional __generic in __remove_address_space utility" 2021-11-09 09:42:17 +00:00
Index [clang] Visit enum base specifiers in libIndex 2021-10-25 13:16:14 +02:00
IndexSerialization
Interpreter Reinstate "[clang-repl] Re-implement clang-interpreter as a test case." 2021-10-26 19:29:56 +00:00
Lex [clang] GCC directive extension extension: Hash NNN lines 2021-11-09 07:31:03 -08:00
Parse Initial parsing/sema for 'align' clause 2021-11-09 07:34:18 -05:00
Rewrite [clang] Use StringRef::contains (NFC) 2021-10-21 08:58:19 -07:00
Sema Initial parsing/sema for 'align' clause 2021-11-09 07:34:18 -05:00
Serialization Initial parsing/sema for 'align' clause 2021-11-09 07:34:18 -05:00
StaticAnalyzer [analyzer] Retrieve a value from list initialization of multi-dimensional array declaration. 2021-11-08 16:17:55 +02:00
Testing
Tooling [clang] Use llvm::{count,count_if,find_if,all_of,none_of} (NFC) 2021-10-25 09:14:45 -07:00
CMakeLists.txt [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00