summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authormichael.weghorn <m.weghorn@posteo.de>2018-02-16 09:20:14 +0000
committerMichael Stahl <mstahl@redhat.com>2018-02-19 16:17:02 +0100
commit82a213880ff3927d8b2b3e5135743002a3b4df35 (patch)
tree2ab36c36416903483222bc21ff842ddcfd7ef4b4 /compilerplugins
parentb99af181a40b464218434e8cf4167cb69c4383df (diff)
Remove now unused libgetuid.so
Some scripts in which it was used have been removed (commit e1082e45361a92a31adedcc3ed0a35c704bca543) and the more reliable 'fakeroot' is now in use at all other places where libgetuid.so was previously used (s. tdf#115554). Change-Id: I638e96e5c8d671e3b145b79f33de718fe34ea514 Reviewed-on: https://gerrit.libreoffice.org/49837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/reservedid.cxx4
-rw-r--r--compilerplugins/clang/store/constantfunction.cxx5
2 files changed, 1 insertions, 8 deletions
diff --git a/compilerplugins/clang/reservedid.cxx b/compilerplugins/clang/reservedid.cxx
index 5fefb26c2589..cfb9a5b35818 100644
--- a/compilerplugins/clang/reservedid.cxx
+++ b/compilerplugins/clang/reservedid.cxx
@@ -167,9 +167,7 @@ bool ReservedId::VisitNamedDecl(NamedDecl const * decl) {
&& s != "__PK11_GetKeyData"
// xmlsecurity/source/xmlsec/nss/nssrenam.h
&& s != "__current_exception" // bridges/inc/except.hxx, Windows
- && s != "__data_start" // sal/osl/unx/system.cxx
- && s != "__lxstat64" // setup_native/scripts/source/getuid.c
- && s != "__lxstat") // setup_native/scripts/source/getuid.c
+ && s != "__data_start") // sal/osl/unx/system.cxx
{
report(
DiagnosticsEngine::Warning,
diff --git a/compilerplugins/clang/store/constantfunction.cxx b/compilerplugins/clang/store/constantfunction.cxx
index 343cdc6ffc14..19c28df00db5 100644
--- a/compilerplugins/clang/store/constantfunction.cxx
+++ b/compilerplugins/clang/store/constantfunction.cxx
@@ -84,11 +84,6 @@ bool ConstantFunction::VisitFunctionDecl(const FunctionDecl * pFunctionDecl) {
if (aFileName.startswith(SRCDIR "/basegfx/test/")) {
return true;
}
- // some stuff is just stubs under Linux, although this appears to be a SOLARIS-specific hack, so it
- // should probably not even be compiling under Linux.
- if (aFileName == SRCDIR "/setup_native/scripts/source/getuid.c") {
- return true;
- }
// bridges has some weird stuff in it....
if (aFileName.startswith(SRCDIR "/bridges/")) {
return true;