diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-09 15:41:25 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-09 15:41:25 +0100 |
commit | 387a035d749ff7f00beca82f83e7aa5d8c5e9fcd (patch) | |
tree | e385741d24f439975d66ffae1331f4f31cd1cc95 /include | |
parent | 2f3bc785e675b40003b06f549a00775322f0b7fd (diff) |
New loplugin:externvar: sal
Change-Id: Iefc33784f21e7a0b88c8d6308618926e38ab8554
Diffstat (limited to 'include')
-rw-r--r-- | include/rtl/strbuf.hxx | 5 | ||||
-rw-r--r-- | include/rtl/string.hxx | 5 | ||||
-rw-r--r-- | include/rtl/stringconcat.hxx | 4 | ||||
-rw-r--r-- | include/rtl/ustrbuf.hxx | 4 | ||||
-rw-r--r-- | include/rtl/ustring.hxx | 4 |
5 files changed, 22 insertions, 0 deletions
diff --git a/include/rtl/strbuf.hxx b/include/rtl/strbuf.hxx index 8c9148b3e984..7cf4123d0ae8 100644 --- a/include/rtl/strbuf.hxx +++ b/include/rtl/strbuf.hxx @@ -34,6 +34,11 @@ #include <rtl/stringconcat.hxx> #endif +#ifdef RTL_STRING_UNITTEST +extern bool rtl_string_unittest_const_literal; +extern bool rtl_string_unittest_const_literal_function; +#endif + // The unittest uses slightly different code to help check that the proper // calls are made. The class is put into a different namespace to make // sure the compiler generates a different (if generating also non-inline) diff --git a/include/rtl/string.hxx b/include/rtl/string.hxx index 827ab8e3fbd5..8f5d044e5a4e 100644 --- a/include/rtl/string.hxx +++ b/include/rtl/string.hxx @@ -39,6 +39,11 @@ #include <sal/log.hxx> +#ifdef RTL_STRING_UNITTEST +extern bool rtl_string_unittest_const_literal; +extern bool rtl_string_unittest_const_literal_function; +#endif + // The unittest uses slightly different code to help check that the proper // calls are made. The class is put into a different namespace to make // sure the compiler generates a different (if generating also non-inline) diff --git a/include/rtl/stringconcat.hxx b/include/rtl/stringconcat.hxx index d5bc4e8eb500..9fd5332b2404 100644 --- a/include/rtl/stringconcat.hxx +++ b/include/rtl/stringconcat.hxx @@ -17,6 +17,10 @@ #ifdef LIBO_INTERNAL_ONLY // "RTL_FAST_STRING" +#if defined RTL_STRING_UNITTEST_CONCAT +extern bool rtl_string_unittest_invalid_concat; +#endif + #ifdef RTL_STRING_UNITTEST #define rtl rtlunittest #endif diff --git a/include/rtl/ustrbuf.hxx b/include/rtl/ustrbuf.hxx index 4665d20b1d35..57c73a8012f8 100644 --- a/include/rtl/ustrbuf.hxx +++ b/include/rtl/ustrbuf.hxx @@ -35,6 +35,10 @@ #include <rtl/stringconcat.hxx> #endif +#ifdef RTL_STRING_UNITTEST +extern bool rtl_string_unittest_invalid_conversion; +#endif + // The unittest uses slightly different code to help check that the proper // calls are made. The class is put into a different namespace to make // sure the compiler generates a different (if generating also non-inline) diff --git a/include/rtl/ustring.hxx b/include/rtl/ustring.hxx index c6c312442dec..eed067c1b754 100644 --- a/include/rtl/ustring.hxx +++ b/include/rtl/ustring.hxx @@ -39,6 +39,10 @@ #include <rtl/stringconcat.hxx> #endif +#ifdef RTL_STRING_UNITTEST +extern bool rtl_string_unittest_invalid_conversion; +#endif + // The unittest uses slightly different code to help check that the proper // calls are made. The class is put into a different namespace to make // sure the compiler generates a different (if generating also non-inline) |