- Dec 04, 2010
-
-
John McCall authored
Also, move the l-value emission code into CGObjC.cpp and teach it, for completeness, to store away self for a super send. Also, inline the super cases for property gets and sets and make them use the correct result type for implicit getter/setter calls. llvm-svn: 120887
-
John McCall authored
the l-value. llvm-svn: 120884
-
Peter Collingbourne authored
llvm-svn: 120882
-
Peter Collingbourne authored
llvm-svn: 120881
-
Peter Collingbourne authored
llvm-svn: 120880
-
Peter Collingbourne authored
llvm-svn: 120879
-
Peter Collingbourne authored
llvm-svn: 120878
-
Peter Collingbourne authored
llvm-svn: 120877
-
Peter Collingbourne authored
llvm-svn: 120876
-
Peter Collingbourne authored
llvm-svn: 120875
-
Peter Collingbourne authored
This patch refactors the CompilerInvocation code to introduce a CompilerInvocation::setLangDefaults function, which can set up a LangOptions with the defaults for a given language and language standard. This function is useful for non-command line based Clang clients which need to set up a CompilerInvocation manually for a specific language. llvm-svn: 120874
-
Argyrios Kyrtzidis authored
llvm-svn: 120873
-
-
Fariborz Jahanian authored
no property accessor class method to be found, instead of crashing in IRGen. // rdar://8703553 llvm-svn: 120855
-
- Dec 03, 2010
-
-
Abramo Bagnara authored
llvm-svn: 120839
-
Abramo Bagnara authored
llvm-svn: 120828
-
Bob Wilson authored
llvm-svn: 120812
-
Douglas Gregor authored
declarations. The motivation for this patch is that linkage/visibility computations are linear in the number of redeclarations of an entity, and we've run into a case where a single translation unit has > 6500 redeclarations of the same (unused!) external variable. Since each redeclaration involves a linkage check, the resulting quadratic behavior makes Clang slow to a crawl. With this change, a simple test with 512 redeclarations of a variable syntax-checks ~20x faster than before. That said, I hate this change, and will probably end up reverting it in a few hours. Reasons to hate it: - It makes NamedDecl larger, since we don't have enough free bits in Decl to squeeze in the extra information about caching. - There are way too many places where we need to invalidate this cache, because the visibility of a declaration can change due to redeclarations (!). Despite self-hosting and passing the testsuite, I have no confidence that I've found all of places where this cache needs to be invalidated. llvm-svn: 120808
-
Bob Wilson authored
to distinguish vsri/vsli. llvm-svn: 120806
-
Eric Christopher authored
llvm-svn: 120799
-
Ted Kremenek authored
a node in the trimmed graph might not always correctly map back to the original error node. This could cause a crash in some cases when flagging memory leaks. llvm-svn: 120795
-
Ted Kremenek authored
when generating DOT output for an ExplodedGraph. llvm-svn: 120794
-
Argyrios Kyrtzidis authored
llvm-svn: 120783
-
Argyrios Kyrtzidis authored
Remove leftover code and use the text path diagnostic client even without a specified output file since it just uses diagnostic notes. llvm-svn: 120773
-
Argyrios Kyrtzidis authored
the sequence of events; useful for testing. llvm-svn: 120770
-
Argyrios Kyrtzidis authored
llvm-svn: 120769
-
Argyrios Kyrtzidis authored
llvm-svn: 120768
-
Ted Kremenek authored
Patch by Paul Curtis! llvm-svn: 120759
-
- Dec 02, 2010
-
-
Chris Lattner authored
llvm-svn: 120746
-
Douglas Gregor authored
about deprecated Objective-C pointer conversions. Plus, make sure to actually set an appropriate AssignmentAction when performing an implicit conversion from an InitializationSequence. Fixes regressions in the GCC DejaGNU testsuite. llvm-svn: 120744
-
Peter Collingbourne authored
llvm-svn: 120736
-
Ted Kremenek authored
llvm-svn: 120735
-
Peter Collingbourne authored
llvm-svn: 120729
-
Douglas Gregor authored
code I wrote, returning "true" on error is still unnatural. llvm-svn: 120727
-
Abramo Bagnara authored
llvm-svn: 120724
-
Chris Lattner authored
structs with references in them correctly. llvm-svn: 120722
-
Fariborz Jahanian authored
objects imported into blocks. //rdar://8594790. Will have a test case coming (as well as one sent to llvm test suite). llvm-svn: 120713
-
Douglas Gregor authored
macri; the extra bool fits into padding anyway. llvm-svn: 120708
-
John McCall authored
llvm-svn: 120701
-
John McCall authored
llvm-svn: 120700
-