Commit graph

11 commits

Author SHA1 Message Date
albert-github
6b70d803fe Fixing warnings like: Use the "nullptr" literal
Fixing sonar cloud warnings like: `Use the "nullptr" literal`
2023-12-26 12:50:05 +01:00
Dimitri van Heesch
34bd5dcf67
Refactoring: use OutputCodeList for parsing code instead of CodeOutputInterface 2023-02-04 20:17:54 +01:00
Dimitri van Heesch
24e6b6d307
Refactoring: clean up destructors 2022-02-16 20:38:19 +01:00
Dimitri van Heesch
58264d82ea
Refactoring: replaced MemberDef::isDetailedSectionLinkable() by hasDetailedSection()
- make filtering if detailed section is present more inline with
  contents
- split of MemberVector as simpler version of MemberList
- introduce MemberListContainer type as a replacement for inFile and
  inGroup booleans.
- improved const use a bit
2021-08-05 21:40:15 +02:00
Dimitri van Heesch
592aaa4f17
Refactoring: remove implicit conversion from QCString to const char *
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()'
2021-04-22 19:34:13 +02:00
Dimitri van Heesch
3bda58a7b7
Split language parser into "outline parser" and "code parser" 2019-12-03 20:54:36 +01:00
Dimitri van Heesch
bae74a501c
Fixed use of uninitialized pointer in preprocessor 2019-11-09 19:46:38 +01:00
Dimitri van Heesch
ae0a5ec2a1
Use smartpointers to manage the lifetime of Entry objects 2019-10-07 21:01:10 +02:00
Dimitri van Heesch
6216208b0a
Improved const correctness and added support for inline namespaces 2019-04-21 16:01:25 +02:00
Dimitri van Heesch
e11b487853 Bump copyright year 2015-02-26 20:39:53 +01:00
Dimitri van Heesch
0dd59398b3 Bug 734099 - Add support for non-parsed language 2014-08-04 14:07:53 +02:00