Age | Commit message (Collapse) | Author |
|
Change-Id: I568c2e0c9b5b234d941e17d57bcb53374626909e
|
|
Change-Id: I4a42c9f795cfbaa0f6c7b68d8189204a63da2321
|
|
Change-Id: If89443c1668ca01c826c8fc353b20097c7da7bf4
|
|
Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, undid one remove that was
detrimental to loplugin:unreffun
Change-Id: I18d8252084d828f94ef7a954e1dbfb45743d7970
|
|
Sadly cannot forward declare "struct {...} TimeValue;".
rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h
was painful enough for now...
Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
|
|
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959
Reviewed-on: https://gerrit.libreoffice.org/12164
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
This reverts commit 05050cdb23de586870bf479a9df5ced06828d498,
not all places that use e.g. OStringToOUString to convert potential UTF-8
are guaranteed to fulfil the prerequisites necessary to use fromUtf8 (and
some places like e.g. in codemaker are happy with the best-effort effect
of OStringToOUString's OSTRING_TO_OUSTRING_CVTFLAGS).
|
|
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
|
|
Change-Id: I14c0c5d90b67000cb4fe9e6be647854abfe784da
|
|
It turns out that almost none of them were necessary.
Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83
Reviewed-on: https://gerrit.libreoffice.org/12133
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
...detected with a modified trunk Clang with
> Index: lib/Sema/SemaDeclCXX.cpp
> ===================================================================
> --- lib/Sema/SemaDeclCXX.cpp (revision 219190)
> +++ lib/Sema/SemaDeclCXX.cpp (working copy)
> @@ -1917,9 +1917,10 @@
> const Type *T = FD.getType()->getBaseElementTypeUnsafe();
> // FIXME: Destruction of ObjC lifetime types has side-effects.
> if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl())
> - return !RD->isCompleteDefinition() ||
> - !RD->hasTrivialDefaultConstructor() ||
> - !RD->hasTrivialDestructor();
> + return !RD->hasAttr<WarnUnusedAttr>() &&
> + (!RD->isCompleteDefinition() ||
> + !RD->hasTrivialDefaultConstructor() ||
> + !RD->hasTrivialDestructor());
> return false;
> }
>
> @@ -3517,9 +3518,11 @@
> bool addFieldInitializer(CXXCtorInitializer *Init) {
> AllToInit.push_back(Init);
>
> +#if 0
> // Check whether this initializer makes the field "used".
> if (Init->getInit()->HasSideEffects(S.Context))
> S.UnusedPrivateFields.remove(Init->getAnyMember());
> +#endif
>
> return false;
> }
to warn about members of SAL_WARN_UNUSED-annotated class types, and warn about
initializations with side effects (cf.
<http://lists.cs.uiuc.edu/pipermail/cfe-dev/2014-October/039602.html>
"-Wunused-private-field distracted by side effects").
Change-Id: I3f3181c4eb8180ca28e1fa3dffc9dbe1002c6628
|
|
Change-Id: Ic90e806d279f8180d78f78597dbc549264338295
|
|
Change-Id: If067f755b99480b7b7bd0bd3bb7a71a447794273
|
|
Change-Id: I7e6490c5b50a236a5f070e98d4501e7dd5a90307
|
|
Change-Id: I9e0e06331f134fe89c9942f93b7546b0e67bb821
|
|
Change-Id: Ibf4f2d46bfbb977f0ba27110d86d7b7f1173631c
|
|
Change-Id: I4412a0c1e4dee94cd717f24b8df5e257d895f721
|
|
Change-Id: I68eee76c8710c89af8e3c1e1006345f908923ece
|
|
Change-Id: Icd477e433f0c294c823c64147d49fb4ac6bfb447
|
|
As discussed with Stephan Bergmann, these files, which contained unused
cppunittests, could be removed.
Change-Id: I91844b96967e3c3e0e8367452f2dda420f479ffe
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Change-Id: I1b5d3f881e82cea90fcc4e97c837251e340abffe
|
|
They were never working, at least since
65f82ca62922e2c487ba72b6d67ea7e3a03f8ebc
Which changed some mappings, for example:
-check( RTL_TEXTENCODING_IBM_437, RTL_TEXTENCODING_IBM_437 );
+check( RTL_TEXTENCODING_IBM_437, RTL_TEXTENCODING_MS_1252 );
But I don't know if that's the root of the problem.
Change-Id: I09f640a6c92a782f99d79405aab5f5dd2b992c6d
|
|
quite useful in this case
Change-Id: I2f9a5ef8ea9faf7a1ce62bd9b4925b3f36b19d1a
|
|
It fails with "assertion failed":
- Expression: compare_environments() [osl_process.cxx:370]
- Expression: compare_merged_environments(different_child_env_vars) [osl_process.cxx:428]
Just disable it (yet) for OSX <10.6 as it's already done for Windows.
Change-Id: I88e838481a25ee7e977512e33e23afa2b9d394ff
Reviewed-on: https://gerrit.libreoffice.org/10641
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Change-Id: Ic3ab061ab8d3578130dfa8a637e5351d4f5d766e
|
|
Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac
|
|
Change-Id: I4a6280f47ca3c4a77b4e42fe05d79ded7fc30ef1
|
|
Change-Id: Ia4111a0fb76c848d3bd2d01f3835995e4c007b6b
|
|
Added header guards to files in directories sal/, sal/, and scripting/
Change-Id: Ieb7f224f2d27bd671618c516f47f5b7f08c1d294
Reviewed-on: https://gerrit.libreoffice.org/9582
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
|
|
Change-Id: I7acba38a00dfc1101e6217bff098ef7d6f032497
|
|
Change-Id: Ib849ff0839bba80d5695c0f78dd18448b668ec78
|
|
Change-Id: If20b1108af89dec75d8c6a232290ab28e51d09d4
|
|
Change-Id: I17dc424d485053d3eb09e8eb0dd01dd4b4672bfd
|
|
Change-Id: I57de2b441c6a1d04c0ea54ad4ff1a66989e0cac8
|
|
Change-Id: I8b9ac5da3a7c137edec3688cc712079685039c26
|
|
Change-Id: Ie5f9629340632b8ab17e3fc940dff8195f7673ce
|
|
Change-Id: Ic7c05f298fec49f1336ab55dde31574a39ebe73b
|
|
Change-Id: I0d39b2c7b39761fb89b9e7787fd3145ff3daa3a4
|
|
Change-Id: Icca0d21a67f1322a84220cde3d10acd5230c9fdd
|
|
...as flagged by -fsanitize=undefined. But is it really undefined?
[conv.double] "If the source value is between two adjacent destination values,
the result of the conversion is an implementation-defined choice of either of
those values." So if the double is between std::numeric_limits<float>::max()
and std::numeric_limits<float>::infinity()...
Change-Id: I6389c8ac4a922991e240638d231dd2a39e173882
|
|
Change-Id: Iffe85763097829cb04b766314077b5f2a9b5b8d5
|
|
Change-Id: Iafc7727a22d657dfb6bc97ed767907cce3679364
|
|
Change-Id: I5c59f0d2d1b911ffa1ee251e0f1355d137616493
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
|
|
remove obsoleted sal-module-internal custom STL allocator
The SAL module avoided the heavy dependency on the stlport4-libraries by using
a custom allocator for its internal STL containers. With stlport4 removed these
dependencies are gone and the SAL-internal custom allocator is obsoleted.
(cherry picked from commit c6e0325df6efce45dbb2616a32b7745c449c6c58)
Conflicts:
include/osl/diagnose.hxx
include/rtl/allocator.hxx
sal/osl/w32/procimpl.cxx
sal/qa/osl/process/osl_process.cxx
sal/rtl/bootstrap.cxx
sal/rtl/source/hash.cxx
sal/rtl/source/unload.cxx
Change-Id: I8515382828eda36aba1fec5f23e0f2a89aef7a33
|
|
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5
Reviewed-on: https://gerrit.libreoffice.org/9360
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
|
|
Change-Id: I14e4d08f209e3d6a444d6c09f9ffb9c178d8731d
|
|
Change-Id: I36734b0e5e1c0b15ed4f0845450b444b23579ffe
|
|
Change-Id: I8590afae1f7b74a250a550adfa010374a3533473
|
|
Change-Id: I4daff986c15bd6fce03fbcfcb8aa4f6e5df967f7
|
|
Change-Id: I380cae18964ee6ed7d8ef87d9ae861cc7b34c376
|