- 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
-
- Jul 10, 2009
-
-
Anders Carlsson authored
llvm-svn: 75265
-
- Jul 06, 2009
-
-
Douglas Gregor authored
from Enea Zaffanella! llvm-svn: 74831
-
- Jun 30, 2009
-
-
Argyrios Kyrtzidis authored
Remove ASTContext parameter from DeclContext's methods. This change cascaded down to other Decl's methods and changes to call sites started "escalating". Timings using pre-tokenized "cocoa.h" showed only a ~1% increase in time run between and after this commit. llvm-svn: 74506
-
Chris Lattner authored
This is simple enough, but then I thought it would be nice to make PrintingPolicy get a LangOptions so that various things can key off "bool" and "C++" independently. This spiraled out of control. There are many fixme's, but I think things are slightly better than they were before. One thing that can be improved: CFG should probably have an ASTContext pointer in it, which would simplify its clients. llvm-svn: 74493
-
- Jun 26, 2009
-
-
Devang Patel authored
llvm-svn: 74304
-
- Jun 24, 2009
-
-
Anders Carlsson authored
llvm-svn: 74099
-
- Jun 18, 2009
-
-
rdar://problem/6613046Steve Naroff authored
Add a type (ObjCObjectPointerType) and remove a type (ObjCQualifiedIdType). This large/tedious patch is just a first step. Next step is to remove ObjCQualifiedInterfaceType. After that, I will remove the magic TypedefType for 'id' (installed by Sema). This work will enable various simplifications throughout clang (when dealing with ObjC types). No functionality change. llvm-svn: 73649
-
- Jun 16, 2009
-
-
Devang Patel authored
It is possible that main input file does not have any symbol with debug info. To handle this edge case, always create main compile unit first. This fixes PR 4228. llvm-svn: 73520
-
- May 29, 2009
-
-
Douglas Gregor authored
printing logic to help customize the output. For now, we use this rather than a special flag to suppress the "struct" when printing "struct X" and to print the Boolean type as "bool" in C++ but "_Bool" in C. llvm-svn: 72590
-
- May 26, 2009
-
-
Daniel Dunbar authored
- Just SmallVectors this time. llvm-svn: 72432
-
- May 21, 2009
-
-
Jay Foad authored
llvm-svn: 72210
-
- May 18, 2009
-
-
Daniel Dunbar authored
interface types. llvm-svn: 72036
-
- May 14, 2009
-
-
Mike Stump authored
llvm-svn: 71763
-