- Mar 04, 2009
-
-
rdar://problem/6645157Steve Naroff authored
Partial fix for <rdar://problem/6645157> [clang on Xcode; regression]: error: instance variable 'someField' is private. A recent regression caused by http://llvm.org/viewvc/llvm-project?rev=65912&view=rev. This commit isn't fully baked. Nevertheless, it should cause Xcode to compile again. Will speak with Fariborz offline. llvm-svn: 66045
-
Chris Lattner authored
llvm-svn: 66044
-
Devang Patel authored
Refactor code. llvm-svn: 66043
-
Mike Stump authored
BlockModule. No functionality change. This should help people that don't want to know anything about blocks not be confused by the overloaded use of the term block or nor want to see all the blocks goop. llvm-svn: 66042
-
Fariborz Jahanian authored
llvm-svn: 66041
-
Fariborz Jahanian authored
If all else failed, find the message in class's root's list of instacne methods! llvm-svn: 66040
-
Daniel Dunbar authored
- PR3698. llvm-svn: 66038
-
Daniel Dunbar authored
llvm-svn: 66037
-
Ted Kremenek authored
llvm-svn: 66036
-
Mike Stump authored
people. De-duplicates BLOCK_NEEDS_FREE and friends. llvm-svn: 66035
-
Mike Stump authored
people. De-duplicates BLOCK_NEEDS_FREE and friends. llvm-svn: 66034
-
rdar://problem/6497631Steve Naroff authored
Finish up some fixes related to <rdar://problem/6497631> Message lookup is sometimes different than gcc's. - Disallow casting 'super'. GCC allows this, however it doesn't make sense (super isn't an expression and the cast won't alter lookup/dispatch). - Tighten up lookup when messaging 'self'. llvm-svn: 66033
-
Mike Stump authored
codegen, until such time as codegen is complete enough to turn on with -fblocks. llvm-svn: 66031
-
Daniel Dunbar authored
- Add Options.def file, collects option information. - Actual option instantiation is handled lazily by OptTable to allow the driver to not need to instantiate all options. - cast<> support for Option, other minor tweaks. llvm-svn: 66028
-
Eli Friedman authored
llvm-svn: 66027
-
Chris Lattner authored
preexpanded macro arguments from the preprocessor's bump pointer. This reduces # mallocs from 12444 to 11792. llvm-svn: 66025
-
Chris Lattner authored
decls. This reduces the number of calls to malloc on cocoa.h with pth and -disable-free from 15958 to 12444 times (down ~3500). llvm-svn: 66023
-
Zhongxing Xu authored
llvm-svn: 66022
-
Chris Lattner authored
this, make DeclBase::Destroy destroy attributes instead of the DeclBase dtor. llvm-svn: 66020
-
Eli Friedman authored
chosen sub-expression, rather than just evaluating the condition. llvm-svn: 66018
-
Chris Lattner authored
This has two advantages 1) no more leaking them, 2) fewer calls to malloc. This changes us from calling malloc 3685/1390/883/2974/1185 times respectively on 16/20/24/28/32 byte objects when parsing cocoa.h with pth and -disable-free to calling it 2816/1020/702/2903/1168 times each respectively. llvm-svn: 66017
-
Chris Lattner authored
llvm-svn: 66016
-
Chris Lattner authored
multiple sequential cases to a) not create tons of fall-through basic blocks and b) not recurse deeply. This fixes codegen on 100K deep cases, and improves codegen on moderate cases from this: switch i32 %tmp, label %sw.epilog [ i32 1000, label %sw.bb i32 1001, label %sw.bb1 i32 1002, label %sw.bb2 i32 1003, label %sw.bb3 i32 1004, label %sw.bb4 ... sw.bb: ; preds = %entry br label %sw.bb1 sw.bb1: ; preds = %entry, %sw.bb br label %sw.bb2 sw.bb2: ; preds = %entry, %sw.bb1 br label %sw.bb3 sw.bb3: ; preds = %entry, %sw.bb2 br label %sw.bb4 to: switch i32 %tmp, label %sw.epilog [ i32 1000, label %sw.bb i32 1001, label %sw.bb i32 1002, label %sw.bb i32 1003, label %sw.bb i32 1004, label %sw.bb sw.bb: ;; many preds llvm-svn: 66015
-
Eli Friedman authored
booleans. llvm-svn: 66012
-
Chris Lattner authored
multiple sequential case statements instead of doing it with recursion. This fixes a problem where we run out of stack space parsing 100K directly nested cases. There are a couple other problems that prevent this from being useful in practice (right now the example only parses correctly with -disable-free and doesn't work with -emit-llvm), but this is a start. I'm not including a testcase because it is large and uninteresting for regtesting. Sebastian, I would appreciate it if you could scrutinize the smart pointer gymnastics I do. llvm-svn: 66011
-
Eli Friedman authored
llvm-svn: 66010
-
Eli Friedman authored
first extend the integer to the correct width. llvm-svn: 66009
-
Mike Stump authored
still give an unsupported error for them due to the fact this is a work in progress. llvm-svn: 66007
-
Ted Kremenek authored
Added the notion of a "boundable region", which is a region that can have a direct binding in the StoreManager. llvm-svn: 66005
-
Ted Kremenek authored
llvm-svn: 65987
-
Ted Kremenek authored
pointer-to-pointer casts involving symbolic locations. llvm-svn: 65984
-
Ted Kremenek authored
llvm-svn: 65983
-
Ted Kremenek authored
retrieval from the store/environment for locations or scalar types. llvm-svn: 65982
-
Ted Kremenek authored
RegionStore::RemoveDeadBindings needs to check all the symbols of the super region of a scanned region as well. llvm-svn: 65981
-
Steve Naroff authored
llvm-svn: 65978
-
- Mar 03, 2009
-
-
Fariborz Jahanian authored
is searched for in the global pool. It already uncovered a clang bug in message selection. llvm-svn: 65974
-
rdar://problem/5982579Steve Naroff authored
Fix <rdar://problem/5982579> [clang on xcode] (using arch=x86_64): synthesized property 'sdkPath' must either be named the same as a compatible ivar or must explicitly name an ivar. llvm-svn: 65973
-
Ted Kremenek authored
SVal::getAsLocSymbol(). This simplifies the code and allows the retain/release checker to (I believe) also correctly reason about location symbols wrapped in SymbolicRegions. Along the way I cleaned up SymbolRef a little, disallowing implicit casts to 'unsigned'. llvm-svn: 65972
-
-
-