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>
[libclang] Do index 'extern' declarations inside functions.

rdar://12257073

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163563 91177308-0d34-0410-b5e6-96231b3b80d8
Fix buffer overflow.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163578 91177308-0d34-0410-b5e6-96231b3b80d8
[libclang] Fix getting a cursor inside an angled #include directive.

Fixed by pointing the end location of the preprocessed entity for the #include
at the closing '>', instead of the start of '<'.

rdar://11113134

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163588 91177308-0d34-0410-b5e6-96231b3b80d8
Convert a few more getAs cases to castAs where we immediately call a member function.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163684 91177308-0d34-0410-b5e6-96231b3b80d8
clang: add support for neon-vfp instructions

 rebased for cm10.1-staging
Change-Id: Iba9b39b286f97117f1e93dcc5d234a44f02a46de
build clang with graphite optimizations

Change-Id: I532ad699520c7e6e612ba42837b87b1ae1e025fc
better way to implement cflags into clang: use common makefile :P

Change-Id: I70f628d2b2049d6a993b22bc308b66fff67502a4
Optipng -nc -nb -o7

Change-Id: I938a8ba83eb17c8fdff370e8dec552a73d088613
Let le32-none-ndk use customized toolchain instead of Generic_GCC.

Change-Id: Ie638db76cc829a8f480ec3ea637b9724ce995843
This patch introduces A15 as a target in Clang.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163804 91177308-0d34-0410-b5e6-96231b3b80d8
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>
Merge remote-tracking branch 'cm/cm-10.2' into HEAD

Conflicts:
	lib/AST/CommentCommandTraits.cpp
	lib/Basic/Targets.cpp
	lib/Driver/ToolChain.cpp
	lib/Driver/ToolChains.cpp
	lib/Driver/ToolChains.h
	lib/Driver/Tools.cpp
	lib/Lex/PPDirectives.cpp
	test/CodeGen/a15.c
	test/Index/c-index-getCursor-pp.c
	www/timing-data/2008-10-31/176.gcc.png
	www/timing-data/2008-10-31/sketch.png
	www/timing-data/2009-03-02/176.gcc.png
	www/timing-data/2009-03-02/sketch.png
	www/timing-data/2009-06-26/176.gcc.png
	www/timing-data/2009-06-26/sketch.png

Change-Id: I3672e3dcee53a73a17d644c760f3e7e3561a7bdc
Merge branch 'linaro43' into HEAD

Conflicts:
	lib/ARCMigrate/Android.mk
	lib/AST/Android.mk
	lib/Analysis/Android.mk
	lib/Basic/Android.mk
	lib/CodeGen/Android.mk
	lib/Edit/Android.mk
	lib/Frontend/Android.mk
	lib/FrontendTool/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
	utils/TableGen/Android.mk

Change-Id: Ic989b790f33cb9ffc072166ab6487bdf421af7b9
Fix merger

Change-Id: If1bcb65945c1459b05bbf0797bf393ed27fd0aa3
Merge tag 'android-4.3_r3' into HEAD

Android 4.3 release 3.0
Merge remote-tracking branch 'cm/cm-10.2' into HEAD
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>