| commit | cc490dcffb59c9ff575bb935a9f4546fdf3f0f3f | [log] [tgz] |
|---|---|---|
| author | Andrew Hsieh <andrewhsieh@google.com> | Tue Aug 27 17:43:29 2013 +0800 |
| committer | Andrew Hsieh <andrewhsieh@google.com> | Thu Sep 05 19:49:55 2013 +0800 |
| tree | aec85cf29cebd234a7fdf0836017b44a8b630a85 | |
| parent | bba7eb9ee3ec2af12b926023256dbe4799995645 [diff] |
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