- Feb 28, 2012
-
-
Eli Friedman authored
Prefer bitcast+GEP over ptrtoint+sub+inttoptr: it's semantically equivalent here, and generally nicer to the optimizer. llvm-svn: 151659
-
Anna Zaks authored
message. llvm-svn: 151657
-
Anna Zaks authored
test. llvm-svn: 151656
-
Chad Rosier authored
rdar://10947759 llvm-svn: 151654
-
David Chisnall authored
llvm-svn: 151653
-
David Chisnall authored
It turns out -fno-cxa-atexit just produces broken code, so disable it on Solaris and we'll ship a __cxa_atexit implementation... llvm-svn: 151648
-
James Molloy authored
Un-break clang based on r151638 - What was meant to be a trivial variable name change went horribly wrong and I forgot to retest afterwards. llvm-svn: 151641
-
James Molloy authored
Correctly track tags and enum members defined in the prototype of a function, and ensure they are properly scoped. This fixes code such as: enum e {x, y}; int f(enum {y, x} n) { return 0; } This finally fixes PR5464 and PR5477. llvm-svn: 151638
-
Argyrios Kyrtzidis authored
make sure to record the source location of the ivar name. [libclang] When indexing @synthesized objc methods, report the @implementation as the lexical container. Fixes rdar://10905472 llvm-svn: 151635
-
Argyrios Kyrtzidis authored
the getter/setter objc method entities that the property is associated with. rdar://10244558 llvm-svn: 151634
-
Argyrios Kyrtzidis authored
[libclang] Index the getter/setter methods of a property of a objc class extension. Fixes rdar://10907597 llvm-svn: 151633
-
David Chisnall authored
Some more Solaris fixes. Now successfully building libc++ on Solaris with clang (and linking clang against it). llvm-svn: 151632
-
Daniel Dunbar authored
llvm-svn: 151631
-
Eli Friedman authored
llvm-svn: 151616
-
Anna Zaks authored
closest function context (Keychain API). llvm-svn: 151613
-
Anna Zaks authored
When allocated buffer is passed to CF/NS..NoCopy functions, the ownership is transfered unless the deallocator argument is set to 'kCFAllocatorNull'. llvm-svn: 151608
-
Eli Friedman authored
Implement IRGen for the retain-autorelease in the lambda conversion-to-block-pointer outside of ARC. Testcases coming up soon. llvm-svn: 151603
-
Ted Kremenek authored
[analyzer] teach analyzer about ObjC literals, thus trimming out a false positive with the malloc() checker involving comparing literal addresses to nil. Fixes <rdar://problem/10579586> llvm-svn: 151602
-
Jim Grosbach authored
All known nightly-test failures are fixed. llvm-svn: 151595
-
Anna Zaks authored
closest function context. This prevents us from uniqueing all leaks from the same allocation helper. radar://10932226 llvm-svn: 151592
-
Richard Trieu authored
so no testing was actually done. Further, the commands produce no output. The redirection has been fixed and the test has been disabled. llvm-svn: 151591
-
Ted Kremenek authored
[analyzer] Don't generate an explicit ExplodedNode for StringLiterals; have the SVal lazily generated from Environment::getSVal(). llvm-svn: 151589
-
Sebastian Redl authored
llvm-svn: 151586
-
Argyrios Kyrtzidis authored
depth and error if we exceed a max value, to make sure we avoid a stack overflow. This is a hacky temporary fix. rdar://10913206. llvm-svn: 151585
-
- Feb 27, 2012
-
-
Ted Kremenek authored
After numerous requests, have Objective-C 'method declared here' notes mention the actual method. This looks better within an IDE, where text isn't always regurgitated in the presentation of a warning. Fixes radar 10914035. llvm-svn: 151579
-
Sebastian Redl authored
llvm-svn: 151577
-
Ted Kremenek authored
llvm-svn: 151573
-
Anna Zaks authored
As in http://llvm.org/docs/ProgrammersManual.html#Statistic llvm-svn: 151570
-
Eli Friedman authored
Fix a couple bugs in the way we handle array indexes in array bounds checking. Specifically, make sure we don't ignore explicit casts in indexes, and make sure we use unsigned extension/comparisons on indexes. Fixes <rdar://problem/10916006>. llvm-svn: 151569
-
Argyrios Kyrtzidis authored
to make it more widely available. Depends on llvm commit r151564 llvm-svn: 151566
-
Sebastian Redl authored
Convert initializer lists to temporaries in CreateBuiltinBinOp. Allows assignment of init lists to built-in types and resolves PR12088. llvm-svn: 151551
-
-
Argyrios Kyrtzidis authored
llvm-svn: 151548
-
Benjamin Kramer authored
MSVC < 10 still has the signed enum bitfield bug, making the top bit unusable. llvm-svn: 151545
-
Richard Smith authored
in r151494. llvm-svn: 151544
-
Chad Rosier authored
being emitted at -O0, but are emitted when optimizations are enabled. llvm-svn: 151533
-
Benjamin Kramer authored
Found by valgrind. llvm-svn: 151527
-
Eric Christopher authored
Fixes rdar://10934887 llvm-svn: 151519
-
Eric Christopher authored
llvm-svn: 151518
-
Richard Smith authored
default constructor of a union if it has a const member with no user-provided default constructor. llvm-svn: 151516
-