aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-12-17clang: Build with -fno-strict-aliasinglinaro_android_4.0.4linaro_android_4.0.3Bernhard Rosenkraenzer
Clang can't currently be built with strict aliasing rules enforced, and fixing it would require rather large structural changes. Add -fno-strict-aliasing in the local Android.mk files so we don't need to enable it globally anymore. Change-Id: I05afd21436ee17db1c0def7a4fd4398451842789 Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2011-10-27Revert "Hard-code 2 constants to tolerate GCC 4.0.1 used by Xcode 3.0." DO ↵android-sdk-adt_r20android-sdk-4.0.3_r1android-sdk-4.0.3-tools_r1android-cts-verifier-4.0_r1android-cts-verifier-4.0.3_r1android-cts-4.0.3_r2android-cts-4.0.3_r1android-4.0.4_r2.1android-4.0.4_r2android-4.0.4_r1.2android-4.0.4_r1.1android-4.0.4_r1android-4.0.3_r1.1android-4.0.3_r1tools_r20ics-plus-aospics-mr1-releaseics-mr1Shih-wei Liao
NOT MERGE. This reverts commit e21f6df11b8c17c06d57723e6f4c9aa040eba72c.
2011-10-27Revert "Declare friend class to tolerate GCC 4.0.1 used by Xcode 3.0." DO ↵Shih-wei Liao
NOT MERGE. This reverts commit 4ab4645135c72306a667e04a8488fbaeb368028a.
2011-10-27Revert "Declare BalancedDelimiterTracker as Parser's friend class." DO NOT ↵Shih-wei Liao
MERGE. This reverts commit 651532b889888c98aaee15d5da25e0b90a5cdaa3.
2011-10-27Revert "Forward-declare BalancedDelimiterTracker and then befriend it." DO ↵Shih-wei Liao
NOT MERGE. This reverts commit bd4fa564d5b959f5464adce4daef80a2c86333e2.
2011-10-22Forward-declare BalancedDelimiterTracker and then befriend it.Shih-wei Liao
To tolerate GCC 4.0.1 used in Xcode 3.0. Change-Id: Ia4f5987d3c44c22543ac2e2c2d96578a099700f2
2011-10-22Declare BalancedDelimiterTracker as Parser's friend class.Shih-wei Liao
Declare this friend class to tolerate GCC 4.0.1 used by Xcode 3.0. Change-Id: Ie7172edaf3f408c53d2ca09c67cb55d9c3e3e43a
2011-10-22Declare friend class to tolerate GCC 4.0.1 used by Xcode 3.0.Shih-wei Liao
Change-Id: I59f3e05adf62e9d5cfa59bb3853066d4c101ba65
2011-10-22Hard-code 2 constants to tolerate GCC 4.0.1 used by Xcode 3.0.Shih-wei Liao
See http://gcc.gnu.org/gcc-4.2/changes.html. GCC 4.0.1 doesn't support those visibility overhaul. Without this change, we'll hit compilation errors on Xcode 3.0. Change-Id: I4b9642861cc53cda5d07850df93fa47dd6a116cf
2011-10-22Merge "Revert "Revert "Don't crash when trying to emit too many fixits. ↵Shih-wei Liao
Also, keep some constants in"""
2011-10-22Revert "Revert "Don't crash when trying to emit too many fixits. Also, keep ↵Shih-wei Liao
some constants in"" This reverts commit e499e7fc549c186aa1c50fabed7748a0ac6d302f
2011-10-22Merge "Revert "Don't crash when trying to emit too many fixits. Also, keep ↵Shih-wei Liao
some constants in""
2011-10-22Revert "Don't crash when trying to emit too many fixits. Also, keep some ↵Shih-wei Liao
constants in" This reverts commit 7035f310f5cfedb35ee4422bcab98e9f18f4ce63.
2011-10-22Update README.Shih-wei Liao
Change-Id: Id00ebe0042805df66c56ee458708292bb2e6046b
2011-10-22Apply changes to migrate to upstream Oct 20th 2011 (r142531)Logan Chien
Change-Id: I32cdb5da2c07c84e01f42b4e87161196f468806a
2011-10-22Merge with clang upstream Oct 20th 2011 (r142531)Logan Chien
Change-Id: I42181113f38ce445f2a48694d6f654438562b71e
2011-10-21Properly abstract 64-bit longs for Renderscript.Stephen Hines
Change-Id: I4d0c3084f6080f23daadc0534145ec12aaa1a918
2011-10-19Fix the signatures of vfork, __sigsetjmp and sigsetjmp.Rafael Espindola
Patch by Dimitry Andric. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142531 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-19Break out ssize_t test from Sema/format-strings-fixit.cHans Wennborg
Move to a separate test that sets a specific target triple so that the type of ssize_t is known. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142481 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-19Improve the warning for cv-qualifiers on free functions, from Ahmed Charles!Douglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142478 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-19 Add support for constant arrays, from Anders Waldenborg!.Douglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142477 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-19Add TypeKind.CONSTANTARRAY, from Anders Waldenborg!Douglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142476 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-19Fix error message for unknown type kind, from Anders Waldenborg!Douglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142475 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-19This new field was introduced in clang-c in r141277Douglas Gregor
Python needs this in its structure definition so it allocates enough memory. From Anders Waldenborg! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142474 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-19Fix pr9789, assert-on-invalid while instantiating an (invalid) class ↵David Blaikie
template with a non-final parameter pack. Also improve the warning for non-final parameter packs in this scenario so it only fires once, rather than once for every template parameter after the non-final parameter pack. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142473 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-19Tweak this test to test more directly what we want, and hopefully work ↵Douglas Gregor
around the brokenness of code completion under -fdelayed-template-parsing git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142472 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-19Don't forget to complete the objc interface before asking for information,Argyrios Kyrtzidis
otherwise lldb will suffer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142471 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-19Add a -Wc++98-compat warning for friend functions of class templates which wouldRichard Smith
be implicitly instantiated (resulting in a redefinition) in C++98. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142468 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-19Add block information for ObjC @catch blocks.Eric Christopher
Fixes rdar://10282889 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142467 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-19Add a new subclass of RunCleanupScopes that also handles creating newEric Christopher
lexical blocks for debug info. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142466 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-19Move static array parameter checks to SemaExpr, per Doug's requestPeter Collingbourne
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142465 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-19-Wc++98-compat: warn if a SFINAE substitution in C++11 suppresses an accessRichard Smith
control diagnostic. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142463 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-18objc: allow class name qualified with protocols inFariborz Jahanian
iboutletcollection attribute. But ignore protocol list. // rdar://10296078 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142459 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-18[analyzer] Move predecessor into the NodeBuilder context.Anna Zaks
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142454 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-18[analyzer] Make NodeBuilder and Pred node loosely coupledAnna Zaks
NodeBuilder should not assume it's dealing with a single predecessor. Remove predecessor getters. Modify the BranchNodeBuilder to not be responsible for doing auto-transitions (which depend on a predecessor). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142453 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-18[analyzer] Remove StmtNodeBuilder from CheckerContextAnna Zaks
It now only depends on a generic NodeBuilder instead. As part of this change, make the generic node builder results finalized by default. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142452 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-18[analyzer] Subclassing StmtBuilder from the NodeBuilderAnna Zaks
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142451 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-18[analyzer] Remove dead code.Anna Zaks
ExprEngineBuilders is not used. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142450 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-18[analyzer] Remove redundant method + whitespace.Anna Zaks
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142449 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-18[analyzer] Modularize builder use in processBranch.Anna Zaks
Take advantage of the new builders for branch processing. As part of this change pass generic NodeBuilder (instead of BranchNodeBuilder) to the BranchCondition callback and remove the unused methods form BranchBuilder. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142448 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-18[analyzer] Pull Pred out of NodeBuilderContext.Anna Zaks
Each builder will have a different one, so it doesn't make sense to keep it in the context. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142447 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-18[analyzer] Rely only on NodeBuilder inside CheckerContext.Anna Zaks
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142446 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-18[analyzer] Remove redundant assignment operator.Anna Zaks
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142445 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-18[analyzer] NodeBuilder Refactoring: Subclass BranchNodeBuilder from NodeBuilder.Anna Zaks
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142444 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-18[analyzer] Node Builder refactoring: Introduce a simple Node Builder ↵Anna Zaks
responsible for generating the node frontier. Currently we have a bunch of different node builders which provide some common functionality but are difficult to refactor. Each builder generates nodes of different kinds and calculates the frontier nodes, which should be propagated to the next step (after the builder dies). Introduce a new NodeBuilder which provides very basic node generation facilities but takes care of the second problem. The idea is that all the other builders will eventually use it. Use this builder in CheckerContext instead of StmtNodeBuilder (the way the frontier is propagated to the StmtBuilder is a hack and will be removed later on). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142443 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-18More metaprogramming with builtin types.John McCall
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142433 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-18[libclang] Make sure we do a correct invalid check in ↵Argyrios Kyrtzidis
clang_getExpansionLocation. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142430 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-18Minor tweak to testDouglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142427 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-18-Wc++98-compat and -Wc++98-compat-pedantic warnings for Sema, part 2.Richard Smith
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142426 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-18Remove unused data memberDouglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142425 91177308-0d34-0410-b5e6-96231b3b80d8