office-gobmx/basic
Stephan Bergmann 314f15bff0 Extend loplugin:external to warn about enums
To mitigate the dangers of silently breaking ADL when moving enums into unnamed
namespaces (see the commit message of 206b5b2661
"New loplugin:external"), note all functions that are affected.  (The plan is to
extend loplugin:external further to also warn about classes and class templates,
and the code to identify affected functions already takes that into account, so
some parts of that code are not actually relevant for enums.)

But it appears that none of the functions that are actually affected by the
changes in this commit relied on being found through ADL, so no adaptions were
necessary for them.

(clang::DeclContext::collectAllContexts is non-const, which recursively means
that External's Visit... functions must take non-const Decl*.  Which required
compilerplugins/clang/sharedvisitor/analyzer.cxx to be generalized to support
such Visit... functions with non-const Decl* parameters.)

Change-Id: Ia215291402bf850d43defdab3cff4db5b270d1bd
Reviewed-on: https://gerrit.libreoffice.org/83001
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-11-17 00:28:17 +01:00
..
inc tdf#42949 Fix IWYU warnings in basic/ 2019-11-12 09:20:55 +01:00
qa fix windows builds after commit 7ddedd2594 2019-11-13 09:30:46 +01:00
source Extend loplugin:external to warn about enums 2019-11-17 00:28:17 +01:00
util
AllLangMoTarget_sb.mk
CppunitTest_basic_macros.mk
CppunitTest_basic_scanner.mk
IwyuFilter_basic.yaml tdf#42949 Fix IWYU warnings in basic/ 2019-11-12 09:20:55 +01:00
Library_sb.mk do not require $(SRCDIR) in every gb_Library_set_precompiled_header 2019-09-23 10:47:25 +02:00
Makefile
Module_basic.mk
README

Contains the StarBASIC Interpreter

This implements a macro language that, when in VBA compatibility mode,
is intended to be interoperable with Visual Basic for Applications,
allowing people to run macros embedded in their documents.

See also:
[http://wiki.openoffice.org/wiki/Basic]