1. 07 Haz, 2019 1 kayıt (commit)
  2. 06 Haz, 2019 1 kayıt (commit)
    • Stephan Bergmann's avatar
      loplugin:typedefparam: Work around different size_t typedefs on macOS · 50696615
      Stephan Bergmann yazdı
      ...which for me caused
      
      > [CXX] registry/tools/options.cxx
      > /Users/stephan/Software/lo/core/registry/tools/options.cxx:39:89: error: function param 3 at definition site does not match function param at declaration site, 'size_t' (aka 'unsigned long') vs 'size_t' (aka 'unsigned long') [loplugin:typedefparam]
      > bool Options::checkArgument(std::vector< std::string> & rArgs, char const * arg, size_t len)
      > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
      > /Users/stephan/Software/lo/core/registry/tools/options.hxx:41:93: note: declaration site here [loplugin:typedefparam]
      >     static bool checkArgument (std::vector< std::string > & rArgs, char const * arg, size_t len);
      >     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
      
      because one is
      
        TypedefType 0x115a4d700 'size_t' sugar
        |-Typedef 0x115a4d460 'size_t'
        `-BuiltinType 0x7fde8e0393c0 'unsigned long'
      
      while the other is
      
        TypedefType 0x7fde8e94a3a0 'size_t' sugar
        |-Typedef 0x7fde8e94a138 'size_t'
        `-TypedefType 0x7fde8e94a100 '__darwin_size_t' sugar
          |-Typedef 0x7fde8e88cc28 '__darwin_size_t'
          `-BuiltinType 0x7fde8e0393c0 'unsigned long'
      
      and
      
      > [CXX] store/source/storcach.cxx
      > /Users/stephan/Software/lo/core/store/source/storcach.cxx:218:43: error: function param 1 at definition site does not match function param at declaration site, 'std::size_t' (aka 'unsigned long') vs 'std::size_t' (aka 'unsigned long') [loplugin:typedefparam]
      > void PageCache::rescale_Impl (std::size_t new_size)
      > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
      > /Users/stephan/Software/lo/core/store/source/storcach.hxx:67:36: note: declaration site here [loplugin:typedefparam]
      >     void rescale_Impl (std::size_t new_size);
      >     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
      
      because one is
      
        ElaboratedType 0x116f5cba0 'std::size_t' sugar
        `-TypedefType 0x7fd58673e090 'size_t' sugar
          |-Typedef 0x7fd58673dde8 'size_t'
          `-BuiltinType 0x7fd58603cfc0 'unsigned long'
      
      while the other is
      
        ElaboratedType 0x7fd586742200 'std::size_t' sugar
        `-TypedefType 0x7fd58621cdc0 'size_t' sugar
          |-Typedef 0x7fd5861ce4a0 'size_t'
          `-TypedefType 0x7fd5861cdc70 '__darwin_size_t' sugar
            |-Typedef 0x7fd586889ec8 '__darwin_size_t'
            `-BuiltinType 0x7fd58603cfc0 'unsigned long'
      
      Change-Id: I3622716376198cc046b0489db59c5cbf613ea1f4
      Reviewed-on: https://gerrit.libreoffice.org/73585
      Tested-by: Jenkins
      Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
      50696615
  3. 31 May, 2019 1 kayıt (commit)
  4. 27 May, 2019 3 kayıt (commit)
  5. 22 May, 2019 2 kayıt (commit)
  6. 19 May, 2019 1 kayıt (commit)
  7. 16 May, 2019 1 kayıt (commit)
  8. 10 May, 2019 1 kayıt (commit)
  9. 09 May, 2019 3 kayıt (commit)
  10. 07 May, 2019 1 kayıt (commit)
    • Noel Grandin's avatar
      loplugin:badstatics · 0e2cda89
      Noel Grandin yazdı
      add some more false+
      
      which interestingly enough, only started showing up when I switched on
         --enable-pch=system
      
      Change-Id: I2d52644dc3665db19b28772eb818c138e063dae4
      0e2cda89
  11. 05 May, 2019 2 kayıt (commit)
  12. 03 May, 2019 1 kayıt (commit)
  13. 30 Nis, 2019 3 kayıt (commit)
  14. 29 Nis, 2019 1 kayıt (commit)
  15. 28 Nis, 2019 2 kayıt (commit)
  16. 26 Nis, 2019 2 kayıt (commit)
  17. 24 Nis, 2019 1 kayıt (commit)
  18. 21 Nis, 2019 2 kayıt (commit)
  19. 19 Nis, 2019 2 kayıt (commit)
  20. 18 Nis, 2019 1 kayıt (commit)
  21. 17 Nis, 2019 1 kayıt (commit)
    • Stephan Bergmann's avatar
      New loplugin:selfinit · 05a0c51c
      Stephan Bergmann yazdı
      ...to find more bugs like the one addressed in
      6340daac "Revert broken
      loplugin:sequentialassign change".  What it does is:  "Warn when a variable is
      referenced from its own initializer.  This is not invalid in general (see C++17
      [basic.life]), but is at least suspicious."  It found one false positive
      (addressed with 884ad0d1 "Split
      localProcessFactory function into class with setter and getter") and five true
      positives (addressed with e0ccbe72 "Fix use of
      variable before its lifetime begins" and
      0e335af4 "Fix uses of variables before their
      lifetimes begin").
      
      Change-Id: I4c45cceaa042e93b37ad24a54784c027f6ca1f87
      Reviewed-on: https://gerrit.libreoffice.org/70897
      Tested-by: Jenkins
      Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
      05a0c51c
  22. 15 Nis, 2019 1 kayıt (commit)
  23. 12 Nis, 2019 4 kayıt (commit)
  24. 11 Nis, 2019 1 kayıt (commit)
  25. 27 Mar, 2019 1 kayıt (commit)