summaryrefslogtreecommitdiff
path: root/solenv/CompilerTest_compilerplugins_clang.mk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-07-01 16:45:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-07-01 19:50:42 +0200
commit631cec87e2da1925246e4a1902cec6f2952f939e (patch)
treef1fe33bdb76a9ec051342834757d5fb8737f14e2 /solenv/CompilerTest_compilerplugins_clang.mk
parent740d87c0cc833a8159d79100f789033750a8427c (diff)
loplugin:externvar is covered by loplugin:external
...so drop the former. But keep the relevant externvar tests by moving them into compilerplugins/clang/test/external.cxx. (Which revealed one difference between the two plugins, regarding certain extern "C" variables in unnamed namespaces, where Clang (and for that matter also e.g. GCC, it appears) deliberately deviates from the Standard and considers them to have external linkage. Add clarifying comments that loplugin:external keeps considering these as having internal linkage, following the Standard.) Change-Id: I344fcd0135fdaf6bf08a4b396af2ed2299389a7d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97639 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'solenv/CompilerTest_compilerplugins_clang.mk')
-rw-r--r--solenv/CompilerTest_compilerplugins_clang.mk1
1 files changed, 0 insertions, 1 deletions
diff --git a/solenv/CompilerTest_compilerplugins_clang.mk b/solenv/CompilerTest_compilerplugins_clang.mk
index 3d457af768df..d4612b628838 100644
--- a/solenv/CompilerTest_compilerplugins_clang.mk
+++ b/solenv/CompilerTest_compilerplugins_clang.mk
@@ -35,7 +35,6 @@ $(eval $(call gb_CompilerTest_add_exception_objects,compilerplugins_clang, \
compilerplugins/clang/test/emptyif \
compilerplugins/clang/test/expressionalwayszero \
compilerplugins/clang/test/external \
- compilerplugins/clang/test/externvar \
compilerplugins/clang/test/faileddyncast \
compilerplugins/clang/test/fakebool \
compilerplugins/clang/test/finalprotected \