aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-10-16validatorGabor Greif
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116668 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-16these items are done, afaikGabor Greif
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116667 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-16objc_exception_rethrow does not take an exception argument.John McCall
rdar://problem/8535238 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116663 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-16Reformatting.John McCall
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116662 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-16White-listing templated-scope friend decls is a good idea, but doing itJohn McCall
by marking the decl invalid isn't. Make some steps towards supporting these and then hastily shut them down at the last second by marking them as unsupported. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116661 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-16Revert r116656, "IRgen/Obj-C/NeXT: Fix the IR signature forDaniel Dunbar
objc_exception_rethrow, so we don't...", since something is actually trying to call this with the wrong signature (!). Unfortunately I don't understand the new EH infrastructure well enough to fix it immediately. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116660 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-16Add an empty robots.txt, mostly just to reduce errors in HTTP log.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116658 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-16Add a favicon.ico, mostly just to reduce errors in HTTP log.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116657 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-16IRgen/Obj-C/NeXT: Fix the IR signature for objc_exception_rethrow, so we don'tDaniel Dunbar
generate unnecessary %al clear on x86_64. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116656 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-16Fix a rewriting bug of rewriting properties declared inFariborz Jahanian
protocols. // rdar: //8558702 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116652 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-16Tweak scan-build to work with naked clang commands.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116651 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-16Not really sure how this worked, but it seems like a clear typo. =]Chandler Carruth
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116650 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Allow list-initialization of a local variable of class type with aDouglas Gregor
flexible array member, so long as the flexibility array member is either not initialized or is initialized with an empty initializer list. Fixes <rdar://problem/8540437>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116647 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Disable this test again, which naturally fails on every platform except the ↵Douglas Gregor
one I'm building with git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116642 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Tweak retain/release checker diagnostics to specify a leak occurs because an ↵Ted Kremenek
object is not referenced later in the path, not that it isn't referenced later in the code. Fixes <rdar://problem/8527839>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116636 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Check for ivar being a C++ object before attempting toFariborz Jahanian
find a copy constructor/assignment operator used in getter/setter synthesis. This removes an unintended diagnostics and makes objc++ consistant with objective-c. // rdar: //8550657. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116631 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Driver: Error on -fno-for-scope, which we have no intention of supporting.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116627 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Report the location of the syntax error inside a macro. Fixes PR7944.Nick Lewycky
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116624 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15bool bit fields are causing problems with MSVC. Replace them with unsigned ↵Francois Pichet
bit fields. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116623 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Mention the paragraphs in the standards which sanction TBAA.Dan Gohman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116617 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Use a different name for pointer types in tbaa, to be a littleDan Gohman
more consistent with other names, and to look less like a magic name. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116616 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Add a comment.Dan Gohman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116615 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Fix a typo in a comment Frits van Bommel spotted.Dan Gohman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116614 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Experimental TBAA support for enum types.Dan Gohman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116613 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Again, add '-include-pch' option to the driver, so it can get passed to the ↵Argyrios Kyrtzidis
cc1 driver. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116608 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Revert r116605, a lot more were committed by mistake.Argyrios Kyrtzidis
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116606 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Add '-include-pch' option to the driver, so it can get passed to the cc1 driver.Argyrios Kyrtzidis
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116605 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Eradicate IsSuper field from ObjCImplicitSetterGetterRefExprClassFariborz Jahanian
AST node. (finishing off radar 8525788). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116603 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15TBAA = Type Based Alias AnalysisDevang Patel
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116599 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Read/write to/from PCH DeclarationNameLocs, DeclarationNameInfos and ↵Argyrios Kyrtzidis
QualifierInfos (rdar://8513756). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116598 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Don't leak the TBAA object.Dan Gohman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116595 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Add a comment about odd "signed char" incompatibility between C++ and C.Dan Gohman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116593 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Add clang_getLocationForOffset() to libclang, for gives a source location ↵David Chisnall
from a character index into a file. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116587 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15When performing typo correction, keep track of whether the last lookupDouglas Gregor
we did was an acceptable lookup. If it is, then we can re-use that lookup result. If it isn't, we have to perform the lookup again. This is almost surely the cause behind the mysterious typo.m failures on some builders; we were getting the wrong lookup results returned. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116586 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Disable type.m while failures are investigated.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116577 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Make test more consistent.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116576 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15When we're in the context of an Objective-C message send's receiver,Douglas Gregor
typo correction prefers "super" over other, equivalent completions. I believe this will fix the regression on the buildbot. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116574 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Diagnose C++ [class.mem]p13-14, where a class member has the same nameDouglas Gregor
as the class itself. Fixes PR7082. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116573 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15zap trailing whitespaceGabor Greif
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116572 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15testcase for http://llvm.org/PR8371 of my last commit, r116570Gabor Greif
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116571 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15fix http://llvm.org/PR8371 in the straightforward way, also adding a commentGabor Greif
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116570 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Treat __extension__ like ParenExpr.Abramo Bagnara
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116569 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Recurse on a TypeLoc rather than a Type for TypedefDecl, now that theCraig Silverstein
typloc information is available (I don't think it was, originally). Submitted as a 'trivial' change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116568 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Death to blocks, or at least the word "block" in one particular obnoxiouslyJohn McCall
ambiguous context. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116567 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Don't complain about a variable within a linkage-specification that isDouglas Gregor
initialized. Fixes PR7076. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116553 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15When we are missing the ',' or '>' to terminate a template parameterDouglas Gregor
list, complain about it! Fixes PR7053. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116551 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Add builtin conditional operator candidates for scoped enumerationDouglas Gregor
types, from Alp Toker! Fixes PR8344. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116549 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Update CMake.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116548 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Copied some flags from the Makefile build to the list of GCC flags.Oscar Fuentes
This removes a lot of warnings. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116545 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-15Add a TBAA type for pointer types.Dan Gohman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116544 91177308-0d34-0410-b5e6-96231b3b80d8