office-gobmx/sax
Stephan Bergmann af16aa6256 Improve loplugin:stringview
Issue the "instead of O[U]String, pass [u16]string_view" diagnostic also for
operator call arguments.  (The "rather than copy, pass subView()" diagnostic is
already part of handleSubExprThatCouldBeView, so no need to repeat it explicitly
for operator call arguments.)

(And many call sites don't even require an explicit [u16]string_view, esp. with
the recent ad48b2b02f "Optimized OString operator
+= overloads".  Just some test code in sal/qa/ that explicitly tests the
O[U]String functionality had to be excluded.)

Change-Id: I8d55ba5a7fa16a563f5ffe43d245125c88c793bc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115589
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-05-14 13:11:50 +02:00
..
inc
qa
source Improve loplugin:stringview 2021-05-14 13:11:50 +02:00
test
CppunitTest_sax.mk
CppunitTest_sax_attributes.mk
CppunitTest_sax_parser.mk
CppunitTest_sax_xmlimport.mk
IwyuFilter_sax.yaml
Library_expwrap.mk
Library_sax.mk
Makefile
Module_sax.mk
README.md
README.vars

UNO Services for SAX

UNO services for SAX parsing and C++ functions for XMLSchema-2 data types.

  • source/expwrap: string-based SAX parser UNO service wrapping expat
  • source/fastparser: multi-threaded token-based SAX parser UNO service wrapping libxml2
  • source/tools:
    • C++ wrapper for fast SAX parser
    • C++ XMLSchema-2 data type conversion helpers

Multi-threading in FastParser can be disabled for debugging purposes with:

SAX_DISABLE_THREADS=1 SAL_LOG="+INFO.sax.fastparser+WARN"