office-gobmx/codemaker
Stephan Bergmann a2656563f1 loplugin:unnecessaryparen: Warn about parentheses around literals
...that are not composed of multiple tokens, like ("foo" "bar").  Also don't yet
warn about Boolean literals, which are sometimes wrapped in parentheses to
silence unreachable-code warnings.

To avoid multiple warnings about code like

  f((0))

switch to generally using a set of ParenExpr to keep track of which occurrences
have already been handled.

Change-Id: I036a25a92836ec6ab6c56ea848f71bc6d63822bc
Reviewed-on: https://gerrit.libreoffice.org/45317
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-27 14:04:40 +01:00
..
source loplugin:unnecessaryparen: Warn about parentheses around literals 2017-11-27 14:04:40 +01:00
test/javamaker
Executable_cppumaker.mk
Executable_javamaker.mk
Makefile
Module_codemaker.mk
README
StaticLibrary_codemaker.mk
StaticLibrary_codemaker_cpp.mk
StaticLibrary_codemaker_java.mk

Generators for language-binding--specific representations of UNOIDL entities:
- cppumaker generates header (.hdl and .hpp) files for the C++ UNO language
  binding
- javamaker generates class files for the JVM language binding
- the codemaker for .Net is in module cli_ure

Some of the code is re-used by the skeletonmakers in module unodevtools.


Note the different terminology used by cppumaker vs. gbuild for the three
variants that can be generated by cppumaker for some of the inline functions:

  cppumaker switch: -L;    cpputype.cxx: light;          gbuild: normal;
  cppumaker switch: none;  cpputype.cxx: normal;         gbuild: bootstrap;
  cppumaker switch: -C;    cpputype.cxx: comprehensive;  gbuild: comprehensive;

...a recipe for confusion.