aboutsummaryrefslogtreecommitdiff
path: root/paludis/args
AgeCommit message (Collapse)AuthorLines
2021-12-08fix ignored attribute on types already definedAvatar Arthur Nascimento -9/+9
It seems these attributes have always been ignored silently but recent gcc versions started to warn about it. So removing these is safe. Example warning generated by recent gcc versions: [...]/paludis/util/digest_registry.cc:85:36: warning: type attributes ignored after type is already defined [-Wattributes] template class PALUDIS_VISIBLE WrappedForwardIterator<DigestRegistry::AlgorithmsConstIteratorTag,const std::pair<const std::string, DigestRegistry::Function> >; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2020-10-16modernize: Mark overriding functions as suchAvatar Marvin Schmidt -65/+65
Done using clang-tidy's `modernize-use-override` check
2016-12-16build: Add missing linkage between shared librariesAvatar Michał Górny -0/+3
2016-12-04use range based for loops more pervasively (NFC)Avatar Saleem Abdulrasool -1/+8
2016-12-03args: move the visibility macros to the definitionAvatar Saleem Abdulrasool -18/+18
This silences a large amount of warning spew due to the attribute having no effect. NFC.
2016-11-30build: remove autotools based buildAvatar Saleem Abdulrasool -70/+0
There can be only one!
2016-11-30build: introduce cmake based build systemAvatar Saleem Abdulrasool -0/+43
2016-11-28paludis: mark visibility on a few extern templatesAvatar Saleem Abdulrasool -8/+4
Give the explicit template specializations default visibility. This is needed to build the cave client with clang with hidden visibility.
2016-08-06modernize: use default method synthesisAvatar Saleem Abdulrasool -53/+15
Convert a number of destructors to default synthesized functions. Try to inline a few instances into the header. It should be possible to inline all of them, however, gcc seems to emit a number of warnings. Furthermore, some of the destructors are pure-virtualed, but provide an implementation. Placing the definition into the header causes ODR violations.
2016-08-04modernize: use override annotationsAvatar Saleem Abdulrasool -4/+4
Automated addition of override to overridden functions. NFC.
2016-08-04modernize: convert to range based for-loopsAvatar Saleem Abdulrasool -13/+12
Automated conversion to range based for loops. NFC
2016-02-27paludis: apply missing changes to previous commitAvatar Saleem Abdulrasool -9/+10
The import renamed the methods and class to conform to paludis style. These changes were left out of the original commit.
2016-02-27args: add some iteration helpersAvatar Saleem Abdulrasool -6/+32
Add some utility methods to aid in increase use of C++11 style for-range loops.
2016-01-17build: unconditionally use visibility flagsAvatar Saleem Abdulrasool -1/+1
Remove the last remnants of icc support as the current released versions do not support C++11 and we intend to use clang as the alternate compiler. This cleans up the compile flags to remove the now obsoleted definition (-DPALUDIS_USE_VISIBILITY), the unnecessary compile time checks, and the handling for ICC in the macros.
2015-08-21Remove superfluous parentheses.Avatar Wouter van Kesteren -2/+2
Change-Id: Ie9bb78af07f7613fa876a380da197df71976be18 Reviewed-on: https://galileo.mailstation.de/gerrit/1895 Reviewed-by: Bo Ørsted Andresen <zlin@exherbo.org>
2015-08-21throw() -> noexceptAvatar Wouter van Kesteren -8/+8
Change-Id: I461abfda8b7297c1bd04f1090f8d58fa96364616 Reviewed-on: https://galileo.mailstation.de/gerrit/1892 Reviewed-by: Saleem Abdulrasool <compnerd@compnerd.org> Reviewed-by: Kylie McClain <somasis@exherbo.org>
2013-06-23C++11: auto convert to nullptr via cpp11-migrateAvatar Saleem Abdulrasool -2/+2
This is a blanket migration via the clang C++11 migration tool to convert NULL pointer to nullptr usage. Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
2013-05-23Move code aroundAvatar Ciaran McCreesh -1/+0
2013-02-26perform some dead code elimintationAvatar Saleem Abdulrasool -15/+0
Excise some dead code identified by clang
2013-02-26fix tag mismatchesAvatar Saleem Abdulrasool -2/+2
This is a mechanical change to address tag mismatches for forward declaration. This is not an error, however, the sheer number of these warnings caused by the extensive amount of forward declaration usage drowns out the errors. This has no functional change.
2012-04-15GCC 4.7 does visibility differentlyAvatar Ciaran McCreesh -15/+15
2012-03-30Fix formatting of argumentless usage linesAvatar David Leverton -2/+6
2012-01-30render StringSetArgs nicelyAvatar Łukasz P. Michalik -1/+2
2011-10-14Use nice new toupper/tolower functionsAvatar David Leverton -4/+2
2011-10-04Support negated short optionsAvatar David Leverton -8/+19
2011-10-04Refactor checking for --no- validityAvatar David Leverton -72/+50
2011-08-07Move explicit instantiations to namespace paludisAvatar Elias Pipping -25/+32
Makes clang++ happy
2011-06-22Warn if an --option is specified multiple timesAvatar Ciaran McCreesh -22/+69
2011-06-15Better man page escapingAvatar Ciaran McCreesh -23/+3
2011-05-18Fix warningsAvatar Ciaran McCreesh -4/+4
2011-05-02Allow StringArgs to support --no-Avatar David Leverton -6/+18
2011-03-21gtest moreAvatar Ciaran McCreesh -189/+131
2011-03-20Don't bother with test_extrasAvatar Ciaran McCreesh -1/+0
2011-03-19Kill non-asciidoc writersAvatar Ciaran McCreesh -593/+1
2011-02-21Remove simple_ from visitorAvatar Ciaran McCreesh -5/+5
2011-02-16Missing blank lineAvatar Ciaran McCreesh -1/+2
2011-02-14AsciidocWriter: Escape ' and *Avatar Ingmar Vanhassel -13/+71
'foo' underlines foo *foo* boldens foo We need \'foo' and \*foo* properly escape them. Only the first of the pair of asterisks and apostrophes needs escaping. Instead of tracking which one we are, we just escape the ones that are at the start of the word.
2011-02-14Args::DocWriter: Add support for asciidoc outputAvatar Ingmar Vanhassel -0/+292
2011-02-06Missing includesAvatar Ciaran McCreesh -1/+4
2011-02-05Remove legacy argsAvatar Ciaran McCreesh -1055/+1
2011-01-22Don't store keys, IDs in masksAvatar Ciaran McCreesh -3/+3
2011-01-09Rework Pimp to avoid ImpPtr ickinessAvatar Ciaran McCreesh -41/+55
Fixes: ticket:1070
2011-01-01Use name_foo rather than foo_nameAvatar Ciaran McCreesh -3/+3
2010-12-19More legacyAvatar Ciaran McCreesh -1/+1
2010-12-16Fix argsAvatar Ciaran McCreesh -2/+2
2010-08-17Short options for log levelAvatar Ciaran McCreesh -5/+5
2010-08-12Reduce some autohackeryAvatar Ciaran McCreesh -4/+1
2010-08-10Move some headers to legacyAvatar Ciaran McCreesh -7/+8
2010-08-10Move some args headers to legacyAvatar Ciaran McCreesh -13/+14
2010-08-10Add legacy subdirsAvatar Ciaran McCreesh -0/+33