clang: add support for neon-vfp instructions

 rebased for cm10.1-staging
Change-Id: Iba9b39b286f97117f1e93dcc5d234a44f02a46de
Correct build when using grep with coloured output

With Linux (Archlinux) it fails to detect llvm version when grep colors are activated via environment variable.
GREP_OPTIONS=--color=always

Alternative to this patch, would be to modify build/envsetup.sh to properly detect grep color settings in user environment and set it to auto.

Change-Id: Icebf205d80f4dea927aeb7f9fc800d29050d3498
Merge tag 'android-4.3_r2.1' into cm-10.2

Android 4.3 release 2.1
clang: Build with -fno-strict-aliasing

Add -fno-strict-aliasing here so we don't need to use it globally

Change-Id: Ib1324f90633789417bbf6ea55d51cc2a833b6e20
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Clang: Silence warnings (1/3)

With GCC >=4.7 Clang generates a lot of noise with various compiler flags,
and can even break the builds when using Flags like Graphite.  This can be
reproduced by doing the following:

Setting TARGET_EXTRA_CFLAGS with Graphite flags such as these
TARGET_EXTRA_CFLAGS +=  -fgraphite-identity \
                        -floop-block \
                        -floop-strip-mine \
                        -ftree-loop-distribution \
                        -ftree-loop-linear

Causes the following errors to occure and the builds to fail:

clang: error: argument unused during compilation: '-fgraphite-identity'
                                                  '-floop-block'
                                                  '-floop-strip-mine'
                                                  '-ftree-loop-distribution'
                                                  '-ftree-loop-linear'

Silence the errors by passing the -Qunused-arguments for CFLAGS

Singed-off-by: Paul Beeler <sparksco@gmail.com>
clang: AST: use -fno-strict-aliasing
Signed-off-by: Paul Beeler <sparksco@gmail.com>
Merge tag 'android-4.3_r3.1' into jb3

Android 4.3 Release 3.1
Revert "clang: add support for neon-vfp instructions"

This reverts commit 8675f6783935ad0fe5dc5eaa7ae16366394681aa.
Merge tag 'android-4.4_r1' into jb3

Android 4.4 Release 1.0
clang: add support for neon-vfp instructions

Conflicts:
	lib/Driver/Tools.cpp

Change-Id: Iba9b39b286f97117f1e93dcc5d234a44f02a46de
Merge branch 'kk4.4' of https://github.com/GroundZero44/android_external_clang into kitkat
CLANG: use -Wno-strict-aliasing where we build -fno-strict-aliasing

no point in searching for errors we don't care about

Change-Id: Icc5eb84c897efbe6c2363efc8b65b5468e80b13f

Conflicts:
	lib/ARCMigrate/Android.mk
	lib/Basic/Android.mk
	lib/CodeGen/Android.mk
	lib/Driver/Android.mk
	lib/Edit/Android.mk
	lib/Frontend/Android.mk
	lib/Lex/Android.mk
	lib/Parse/Android.mk
	lib/Rewrite/Frontend/Android.mk
	lib/Sema/Android.mk
	lib/Serialization/Android.mk
	lib/StaticAnalyzer/Checkers/Android.mk
	lib/StaticAnalyzer/Core/Android.mk
	lib/StaticAnalyzer/Frontend/Android.mk
	tools/driver/Android.mk