summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-11-01 18:16:40 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-11-01 23:17:41 +0100
commitecbaf980625a9e7b06abe91c7c70e78f6ad469a7 (patch)
treef41feda7ab341ce87f0a2a2b7634e2826a17dad2 /compilerplugins
parentb085d3561a84d2590ec52bec4a020566955c9689 (diff)
-I$(dir $(3)) in gb_CObject__command_pattern is no longer needed
...at least in com_GCC_class.mk (com_MSC_class.mk will be addressed in a follow- up commit), after the recent loplugin:includeform clean-up. Two static libraries built from external sources needed adjustment, two compilerplugin tests needed adjustment (which wasn't found by loplugin:includeform, by design), and one more adjustment in sal/textenc/generate/. Change-Id: Idad5ae355a02ae130369a9a45b5f5925ab48ffef Reviewed-on: https://gerrit.libreoffice.org/44174 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/test/externvar.cxx2
-rw-r--r--compilerplugins/clang/test/unnecessaryoverride-dtor.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/test/externvar.cxx b/compilerplugins/clang/test/externvar.cxx
index 51f743fbba83..c4b30d6625f0 100644
--- a/compilerplugins/clang/test/externvar.cxx
+++ b/compilerplugins/clang/test/externvar.cxx
@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <externvar.hxx>
+#include "externvar.hxx"
int v1;
int v2; // expected-error {{variable with external linkage not declared in an include file [loplugin:externvar]}} expected-note {{should either have internal linkage or be declared in an include file [loplugin:externvar]}}
diff --git a/compilerplugins/clang/test/unnecessaryoverride-dtor.cxx b/compilerplugins/clang/test/unnecessaryoverride-dtor.cxx
index 518ec711d6d2..b54957be2d7a 100644
--- a/compilerplugins/clang/test/unnecessaryoverride-dtor.cxx
+++ b/compilerplugins/clang/test/unnecessaryoverride-dtor.cxx
@@ -11,7 +11,7 @@
#include <salhelper/simplereferenceobject.hxx>
-#include <unnecessaryoverride-dtor.hxx>
+#include "unnecessaryoverride-dtor.hxx"
struct NonVirtualBase {};