- 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
-
Daniel Dunbar authored
emit the correct "display name". I suspect we need more work here, see FIXME for example. llvm-svn: 71761
-
Daniel Dunbar authored
debug info. llvm-svn: 71736
-
- May 05, 2009
-
-
Chris Lattner authored
types. In this case, it was objc_selector and objc_class. This fixes rdar://6852754 - clang sometimes generates incorrect/unknown file/line info for DW_TAG__structure_type dies llvm-svn: 70969
-
Chris Lattner authored
DIEs. We were generating a loc with line of 0 and a file. These tags do not need locations at all, just remove it. this fixes rdar://6852792 - Clang generates incorrect (and unnecessary) file and line info for DW_TAG_inheritance dies llvm-svn: 70966
-
Chris Lattner authored
in ObjC) to not emit file/line location information. Previously we would output a file with bogus line information. This fixes: rdar://6852814 - Clang generates incorrect file & line info for automatic/understood formal parameters for objc-programs llvm-svn: 70965
-
- May 04, 2009
-
-
Eli Friedman authored
llvm-svn: 70825
-
- May 02, 2009
-
-
Chris Lattner authored
the runtime version number onto it, so that the debugger knows it's an objc interface, not a C struct. rdar://6848435 llvm-svn: 70618
-
Chris Lattner authored
llvm-svn: 70617
-
-
- Apr 28, 2009
-
-
Devang Patel authored
llvm-svn: 70266
-
- Apr 26, 2009
-
-
Eli Friedman authored
llvm-svn: 70145
-
- Apr 23, 2009
-
-
Devang Patel authored
Handle corner case where clang-cc is invoked directly to compile preprocessed source file without -main-file-name. In this case, CDDebugInfo is not able identify correct main source file becase SM.isFromMainFile() returns true for locations from header files as well as locations from main source file. This patch takes conservative approach by not emitting more then one compile unit with isMain bit set. llvm-svn: 69902
-
Chris Lattner authored
llvm-svn: 69873
-
- Apr 22, 2009
-
-
Chris Lattner authored
llvm-svn: 69784
-