llvm-project/clang/unittests/AST
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
..
ASTContextParentMapTest.cpp [AST] Include the TranslationUnitDecl when traversing with TraversalScope 2021-06-11 14:29:45 +02:00
ASTImporterFixtures.cpp Rename APIs in unittests/AST/Language.h in preparation to share them 2020-05-29 14:25:20 +02:00
ASTImporterFixtures.h [ASTImporter] Refactor ASTImporter to support custom downstream tests 2020-07-21 10:34:17 -05:00
ASTImporterGenericRedeclTest.cpp Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
ASTImporterODRStrategiesTest.cpp Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
ASTImporterObjCTest.cpp Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
ASTImporterTest.cpp [clang][ASTImporter] Fix for importing functions with EST_Unevaluated prototype. 2021-10-22 09:42:41 +02:00
ASTImporterVisibilityTest.cpp Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
ASTPrint.h [clang] Refactor AST printing tests to share more infrastructure 2021-07-14 19:44:18 -04:00
ASTTraverserTest.cpp [ASTMatchers] Ignore parts of BindingDecls which are not spelled in source 2021-02-02 14:23:13 +00:00
ASTTypeTraitsTest.cpp Update `DynTypedNode` to support the conversion of `TypeLoc`s. 2021-10-04 19:25:24 +00:00
ASTVectorTest.cpp Reland "[clang-repl] Implement partial translation units and error recovery." 2021-07-12 15:21:22 +00:00
AttrTest.cpp [AST][clangd] Expose documentation of Attrs on hover. 2021-08-12 21:16:37 +02:00
CMakeLists.txt [clang][unittests] Fix shared lib builds 2021-10-25 15:09:45 +02:00
CommentLexer.cpp Comment parsing: Complete list of Doxygen commands 2021-11-09 18:35:26 +01:00
CommentParser.cpp [AST] Fixed string list in test 2020-08-09 23:17:48 +02:00
CommentTextTest.cpp [clang] NFC: test for undefined behaviour in RawComment::getFormattedText() 2021-06-07 03:05:00 -07:00
DataCollectionTest.cpp
DeclMatcher.h
DeclPrinterTest.cpp [clang] Refactor AST printing tests to share more infrastructure 2021-07-14 19:44:18 -04:00
DeclTest.cpp [clang] Fix range for forward-declared enums 2021-10-25 13:16:14 +02:00
EvaluateAsRValueTest.cpp [Tooling] Migrated APIs that take ownership of objects to unique_ptr 2019-08-30 09:29:34 +00:00
ExternalASTSourceTest.cpp
MatchVerifier.h [OpenCL] Add builtin declarations by default. 2021-02-22 12:24:16 +00:00
NamedDeclPrinterTest.cpp [clang] Refactor AST printing tests to share more infrastructure 2021-07-14 19:44:18 -04:00
RecursiveASTVisitorTest.cpp [clang] Traverse enum base specifier in RAV 2021-10-25 13:16:14 +02:00
SizelessTypesTest.cpp [llvm][SveEmitter] Emit the bfloat version of `svld1ro`. 2020-06-18 16:36:31 +00:00
SourceLocationTest.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
StmtPrinterTest.cpp [clang] Refactor AST printing tests to share more infrastructure 2021-07-14 19:44:18 -04:00
StructuralEquivalenceTest.cpp [ASTImporter] Remove ASTNodeImporter::IsStructuralMatch overload for EnumConstantDecl 2021-10-30 13:12:12 +02:00
TypePrinterTest.cpp [clang] Respect PrintingPolicy::FullyQualifiedName when printing a template-id 2021-07-19 17:31:51 -04:00