summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make templated HTML output more similar to hardcoded output.Dimitri van Heesch2021-05-201-0/+15
|
* Merge pull request #8327 from albert-github/feature/bug_enum_structDimitri van Heesch2021-05-021-0/+10
|\ | | | | Incorrect type for enum struct
| * Incorrect type for enum structalbert-github2021-01-121-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case we have the simple file: ``` /// \file /// docu with nothing enum MyEnum_not { v1_0, v2_0 }; /// docu with class enum class MyEnum_cls { v1_2, v2_2 }; /// docu with struct enum struct MyEnum_str { v1_3, v2_3 }; ``` with settings: ``` QUIET=YES ALWAYS_DETAILED_SEC=YES ``` the `enum struct` is shown as `enum class` in the brief description and in the detailed description just as `enum` (the later also is the case for the `enum class).
* | Fix issues caused by QCString::rawData and QCString::operator[]Dimitri van Heesch2021-04-261-3/+3
| | | | | | | | | | - methods were marked const but still returned a non-const reference, cause wrongly optimized code for some platforms/compilers
* | Refactoring: remove implicit conversion from QCString to const char *Dimitri van Heesch2021-04-221-175/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit changes the following in relation to string use - The implicit convert from 'QCString' to 'const char *' is removed - Strings parameters use 'const QCString &' as much as possible in favor over 'const char *' - 'if (s)' where s is a QCString has been replaced by 'if(!s.isEmpty())' - data() now always returns a valid C-string and not a 0-pointer. - when passing a string 's' to printf and related functions 'qPrint(s)' is used instead of 's.data()' - for empty string arguments 'QCString()' is used instead of '0' - The copy() operation has been removed - Where possible 'qstrcmp(a,b)==0' has been replaces by 'a==b' and 'qstrcmp(a,b)<0' has been replaced by 'a<b' - Parameters of string type that were default initialized with '= 0' are no initialized with '= QCString()'
* | issue #2732: Adding support for C++ concepts (Origin: bugzilla #499352)Dimitri van Heesch2021-04-081-0/+4
| |
* | C++20 concepts: added support for parsing requires-clausesDimitri van Heesch2021-04-081-24/+61
| |
* | Refactoring: Add TextStream buffer to improve output writing performanceDimitri van Heesch2021-03-281-2/+2
| | | | | | | | | | - direct use of std::stringstream and std::ostream gave a 30% drop in performance.
* | Refactoring: replace QFile/FTextStream with fstream/stringstreamDimitri van Heesch2021-03-181-11/+11
| |
* | Refactoring: Replaced QDir with DirDimitri van Heesch2021-03-181-101/+106
| | | | | | | | | | - Dir is based on ghc::filesystem, a std::filesystem compatible implementation that does not require C++17.
* | Refactoring: some cleanup and removed text direction logicDimitri van Heesch2021-03-041-1/+0
| |
* | Merge branch 'master' into feature/bug_lexDimitri van Heesch2021-03-031-200/+119
|\ \
| * | Refactoring: replaced std::regex with own much faster implementationDimitri van Heesch2021-03-021-65/+22
| | |
| * | Some performance tweaks + remove setting of global localeDimitri van Heesch2021-02-221-5/+5
| | |
| * | Disable qregex.h and fix some warnings and issuesDimitri van Heesch2021-02-201-14/+10
| | |
| * | Refactoring: replace QRegExp by std::regex in memberdef.cppDimitri van Heesch2021-02-201-89/+60
| | |
| * | Refactoring: reduce code duplication by using writeMarkerList functionDimitri van Heesch2021-02-201-58/+53
| | |
| * | Refactoring: replace QRegExp by std::regex in util.cppDimitri van Heesch2021-02-201-6/+6
| | |
* | | Adding support for lex filesalbert-github2021-02-121-2/+9
|/ / | | | | | | | | | | Adding support for lex. The lex files consist of a mixture of lex specific structures, that are handled in the the lexcode.l and lexscanner.l, abd C code that is handled by the C parsers (hence the rules used are partly copied from scanner.l). Special attention has been paid to memberdef.cpp as the initial values should not be handled by the lex parsers but by the C parsers.
* | Refactoring: modernize MemberListDimitri van Heesch2021-01-221-189/+142
|/
* Refactoring: modernize getMemberLists()Dimitri van Heesch2021-01-041-29/+6
|
* Refactoring: replace ExampleSDict by ExampleListDimitri van Heesch2021-01-011-37/+9
|
* Refactoring: replace Doxygen::memGrpInfoDict by Doxygen::memberGroupInfoMapDimitri van Heesch2020-12-301-5/+10
|
* Add param validation to typedef function pointersFabio Utzig2020-12-171-1/+1
| | | | | | | | | | Currently typedef'd function pointers, typically used as callbacks, don't have their `@param` documentation properly validated. This commit adds a proper check by initializing their memberdef with the parsed args. To avoid duplicating the params in the output, since typedef's already have the params in their definition, an extra check was added. Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
* Improve handling of inline namespace members in LateX/RTF outputDimitri van Heesch2020-12-021-2/+6
|
* Refactoring: move addDocCrossReference to memberdef.cpp/.hDimitri van Heesch2020-11-281-0/+42
|
* issue #8070: C++: \var don't document enum class valuesDimitri van Heesch2020-11-221-8/+10
|
* Fix for crash when using members of a partially constructed objectDimitri van Heesch2020-11-141-2/+2
|
* Refactoring: replacing dynamic_cast by static_cast to improve performanceDimitri van Heesch2020-11-131-30/+95
|
* Refactoring: Introduce immutable and mutable interfacesDimitri van Heesch2020-11-091-170/+53
| | | | | | Split Definition/ClassDef/NamespaceDef/MemberDef into a immutable and mutable part Aliases are immutable, other symbols are stored using an immutable interface but can be made mutable explicitly by dynamic casting.
* Minor tweaksDimitri van Heesch2020-11-051-1/+1
|
* issue #8091: [C++] Newer doxygen versions add a lot of bogus warnings about ↵Dimitri van Heesch2020-10-141-7/+1
| | | | undocumented entities
* Fix for broken LaTeX output.Dimitri van Heesch2020-09-271-1/+1
| | | | | | Fixes error: "\begin{DoxyCodeInclude} on input line 93 ended by \end{DoxyCode}" while generating the LaTeX version of the manual
* Refactoring: prepare output generators for multi-threaded useDimitri van Heesch2020-09-271-4/+4
|
* issue #8037: Links using @ref stopped working in doxygen 1.8.19Dimitri van Heesch2020-09-211-0/+1
|
* Renamed EXTRACT_ANON_ARGUMENTS to RESOLVE_UNNAMED_PARAMS and enabled it by ↵Dimitri van Heesch2020-09-161-11/+14
| | | | default
* Merge branch 'arg_name_as_comment' of https://github.com/tolnaisz/doxygen ↵Dimitri van Heesch2020-09-161-1/+63
|\ | | | | | | into tolnaisz-arg_name_as_comment
| * Support commented out argument names in declarations controlled by new cofig ↵Szabi Tolnai2020-08-111-1/+63
| | | | | | | | EXTRACT_ANON_ARGUMENTS.
* | issue #6442 C++: Trailing return type syntax + voidalbert-github2020-09-081-2/+2
| | | | | | | | corrected typo
* | issue #6442 C++: Trailing return type syntax + voidalbert-github2020-09-071-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When having: ``` /*! * \brief Performs some side effect */ auto side_effect_after() -> void {} ``` We get the warning: ``` warning: return type of member side_effect_after is not documented ``` as the trailing return type was not taken into consideration.
* | issue #7973: C++ grouped functions in namespace have disapeardDimitri van Heesch2020-08-241-10/+10
| | | | | | | | | | - reverted some of the change that introduced the problem - fixed the original problem (#7216) in a different way
* | Fixes doxygen/doxygen#7760: void return type reported as not documentedPoehlsen, Stephan2020-08-141-22/+2
|/
* issue #7943: transferArgumentDocumentation is erroneousDimitri van Heesch2020-08-051-2/+2
|
* Simplified extractDirection()Dimitri van Heesch2020-07-301-1/+1
| | | | Also fixed bug preventing direction to be stripped from the parameter documentation.
* issue #6846 Doxygen parsing global variable as function in certain cases (#7903)albert-github2020-07-161-1/+2
| | | | A parameter can only be present for a function, so we should test on the member being a function it as well. This fix is for the problem as reported by @tgpfeiffer
* Refactor: modernize markdown and make it thread-safeDimitri van Heesch2020-06-161-12/+21
|
* bug_121547 extern variable is being referenced in documentation incorrectly ↵albert-github2020-06-131-3/+4
| | | | | (#7792) It is made clear that where the variable is declared "extern" that it is also shown at that place in the documentation
* Better warning for non documented structalbert-github2020-05-241-7/+4
| | | | | In case if a 'struct' we get the message about a 'class', by using the 'compoundTypeString' this can be corrected. (message was originally found in #7304)
* Refactoring: Introduce type names for commonly used container typesDimitri van Heesch2020-05-011-8/+8
|
* Refactor: improve encapsulation for ArgumentListDimitri van Heesch2020-04-251-9/+9
|