- Oct 20, 2009
-
-
Devang Patel authored
Do not eagerly cache DITypes because it allows real struct type to be shadowed by forward declared struct type. llvm-svn: 84659
-
Devang Patel authored
llvm-svn: 84653
-
- Oct 16, 2009
-
-
John McCall authored
TypeLoc records for declarations; it should not be necessary to represent it directly in the type system. Please complain if you were using these classes and feel you can't replicate previous functionality using the TypeLoc API. llvm-svn: 84222
-
- Oct 14, 2009
-
-
Sanjiv Gupta authored
from Var itself rather than the decl for DebugInfo metadata. llvm-svn: 84102
-
- Oct 13, 2009
-
-
Devang Patel authored
llvm-svn: 83912
-
- Oct 09, 2009
-
-
Mike Stump authored
llvm-svn: 83659
-
- Oct 06, 2009
-
-
Devang Patel authored
llvm-svn: 83419
-
Devang Patel authored
This is not yet enabled. llvm-svn: 83399
-
Devang Patel authored
llvm-svn: 83352
-
- Oct 02, 2009
-
-
Mike Stump authored
llvm-svn: 83232
-
Mike Stump authored
llvm-svn: 83231
-
Mike Stump authored
llvm-svn: 83221
-
- Sep 30, 2009
-
-
Mike Stump authored
scheme, we can switch the previous scheme over to using this code path. There's a bit of simplifications yet to do as well. llvm-svn: 83138
-
- Sep 25, 2009
-
-
John McCall authored
for a ObjC class with an ivar of weak self type. llvm-svn: 82745
-
- Sep 24, 2009
-
-
John McCall authored
Type hierarchy. Demote 'volatile' to extended-qualifier status. Audit our use of qualifiers and fix a few places that weren't dealing with qualifiers quite right; many more remain. llvm-svn: 82705
-
- Sep 22, 2009
-
-
Mike Stump authored
llvm-svn: 82512
-
Mike Stump authored
llvm-svn: 82508
-
- Sep 19, 2009
-
-
Daniel Dunbar authored
Ok, an AssertingVH definitely doesn't work for now because we free our cache after the optimizer may have hacked on the module. Use a WeakVH instead. llvm-svn: 82324
-
Daniel Dunbar authored
llvm-svn: 82321
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 82320
-
- Sep 15, 2009
-
-
Mike Stump authored
llvm-svn: 81924
-
- Sep 09, 2009
-
-
Mike Stump authored
llvm-svn: 81346
-
- Sep 05, 2009
-
-
John McCall authored
directly in the AST. The current thinking is to create these only in C++ mode for efficiency. But for now, they're not being created at all; patch to follow. This will let us do things like verify that tags match during template instantation, as well as signal that an elaborated type specifier was used for clients that actually care. Optimally, the TypeLoc hierarchy should be adjusted to carry tag location information as well. llvm-svn: 81057
-
- Sep 01, 2009
-
-
Devang Patel authored
llvm-svn: 80634
-
- Aug 19, 2009
-
-
Argyrios Kyrtzidis authored
This is a Type subclass that can hold a DeclaratorInfo* when we have type source info coming out of a declarator that we want to preserve. This is used only at the "border" of Parser/Sema for passing/getting QualTypes, it does not participate in the type system semantics in any way. llvm-svn: 79394
-
- Aug 14, 2009
-
-
Devang Patel authored
llvm-svn: 79043
-
- Jul 27, 2009
-
-
Devang Patel authored
llvm-svn: 77228
-
- Jul 22, 2009
-
-
Devang Patel authored
This requires llvm rev. 76769 or higher. llvm-svn: 76770
-
- Jul 18, 2009
-
-
Anders Carlsson authored
llvm-svn: 76327
-
Steve Naroff authored
llvm-svn: 76321
-
- Jul 14, 2009
-
-
Devang Patel authored
llvm-svn: 75684
-
Chris Lattner authored
llvm-svn: 75647
-
Anders Carlsson authored
llvm-svn: 75641
-
Daniel Dunbar authored
--- Reverse-merging r75614 into '.': U lib/CodeGen/CGDebugInfo.cpp llvm-svn: 75639
-
Chris Lattner authored
llvm-svn: 75614
-
Devang Patel authored
llvm-svn: 75589
-
Daniel Dunbar authored
- Previously this would crash on recursive types, and it was also incorrectly stripping off a level of indirection. - I'm not 100% convinced this is all correct, but it should be a monotonic improvment. llvm-svn: 75582
-
- Jul 13, 2009
-
-
Devang Patel authored
llvm-svn: 75473
-
Devang Patel authored
llvm-svn: 75471
-
- Jul 11, 2009
-
-
Steve Naroff authored
The idea is to segregate Objective-C "object" pointers from general C pointers (utilizing the recently added ObjCObjectPointerType). The fun starts in Sema::GetTypeForDeclarator(), where "SomeInterface *" is now represented by a single AST node (rather than a PointerType whose Pointee is an ObjCInterfaceType). Since a significant amount of code assumed ObjC object pointers where based on C pointers/structs, this patch is very tedious. It should also explain why it is hard to accomplish this in smaller, self-contained patches. This patch does most of the "heavy lifting" related to moving from PointerType->ObjCObjectPointerType. It doesn't include all potential "cleanups". The good news is additional cleanups can be done later (some are noted in the code). This patch is so large that I didn't want to include any changes that are purely aesthetic. By making the ObjC types truly built-in, they are much easier to work with (and require fewer "hacks"). For example, there is no need for ASTContext::isObjCIdStructType() or ASTContext::isObjCClassStructType()! We believe this change (and the follow-up cleanups) will pay dividends over time. Given the amount of code change, I do expect some fallout from this change (though it does pass all of the clang tests). If you notice any problems, please let us know asap! Thanks. llvm-svn: 75314
-