Add ccc-syntax/cxx-syntax

Wrappers invoked by build system "WITH_SYNTAX_CHECK=1 make ..." in the following format:

    ccc-syntax ARCH LOCAL_CC ...

It calls "clang -fsyntax-only ..." to utilize clang's better diagnostics
before calling "LOCAL_CC ..." for code generation.  ARCH is translated
into "-target XXX" to get proper pre-defined preprocessor symbols/macros,
etc, etc.

Change-Id: I9c657d0958533872db8aee294511ccc4a590b350
2 files changed
tree: aec85cf29cebd234a7fdf0836017b44a8b630a85
  1. bin/