- Apr 27, 2012
-
-
Ted Kremenek authored
Use a deque instead of an ImmutableList in AnalysisConsumer to preserve the file order that functions are visited. Should fix the buildbots. llvm-svn: 155693
-
-
Ted Kremenek authored
of a mutable SmallPtrSet. While iterating over LocalTUDecls, there were cases where we could modify LocalTUDecls, which could result in invalidating an iterator and an analyzer crash. Along the way, switch some uses of std::queue to std::dequeue, which should be slightly more efficient. Unfortunately, this is a difficult case to create a test case for. llvm-svn: 155680
-
Chad Rosier authored
llvm-svn: 155679
-
Kaelyn Uhrain authored
to a given type, when the reason is that there is a non-type decl with the same name. llvm-svn: 155677
-
Fariborz Jahanian authored
of writing a __block variable being initialized with a constructed object. // rdar://11326988 llvm-svn: 155673
-
Eli Friedman authored
llvm-svn: 155670
-
- Apr 26, 2012
-
-
Nico Weber authored
Add a test for PR12674. llvm-svn: 155666
-
Fariborz Jahanian authored
where getter type is super class of its property type, resulting in an assert. // rdar://11323676 llvm-svn: 155663
-
John McCall authored
more aligned than the block header but also contains something smaller than the block-header alignment but not exactly half the difference between the large alignment and the header alignment. Got that? I'm really not sure what I was thinking with the buggy computation here, but the fix is pretty obvious. llvm-svn: 155662
-
Simon Atanasyan authored
llvm-svn: 155656
-
Argyrios Kyrtzidis authored
the declaration context as not having external visible storage any more. This should improve performance as we won't needlessly reload the visible decls multiple times and seems to fix the i386 crash in rdar://11327522. llvm-svn: 155649
-
John McCall authored
evaluate certain expressions involving invalidly-defined classes. llvm-svn: 155645
-
Evgeniy Stepanov authored
llvm-svn: 155632
-
Craig Topper authored
llvm-svn: 155624
-
Richard Smith authored
itself a SFINAE context. llvm-svn: 155621
-
Ted Kremenek authored
[analyzer] check lazy bindings in RegionStore first before looking for default values. Fixes <rdar://problem/11269741>. llvm-svn: 155615
-
Ted Kremenek authored
Teach RetainCountChecker that it doesn't quite understand pthread_setspecific and it should just give up when it sees it. Fixes <rdar://problem/11282706>. llvm-svn: 155613
-
Chandler Carruth authored
Linux and other (non-Darwin) platforms and have it use -fmath-errno by default (for better or worse). Darwin has seen the light here and uses -fno-math-errno by default, this patch preserves that. If any maintainers for a non-Linux platform would also like to opt-in to -fno-math-errno by default, I'm happy to add folks, but we're currently getting buts and misleading comparisons with GCC due to this difference in behavior on Linux at least. llvm-svn: 155607
-
Richard Smith authored
arguments, and 'this' in exception-specifications. llvm-svn: 155606
-
Rafael Espindola authored
struct __attribute__((visibility("hidden"))) a; struct __attribute__((visibility("default"))) b; which gcc already rejects. llvm-svn: 155603
-
Richard Smith authored
explaining that. llvm-svn: 155598
-
Chad Rosier authored
llvm-svn: 155596
-
- Apr 25, 2012
-
-
Kaelyn Uhrain authored
This is mainly for attempting to recover in cases where a class provides a custom operator-> and a '.' was accidentally used instead of '->' when accessing a member of the object returned by the current object's operator->. llvm-svn: 155580
-
Argyrios Kyrtzidis authored
of the template what we are going to instantiate. Fixes various crashes of rdar://11242625 & http://llvm.org/PR11421. llvm-svn: 155576
-
Richard Smith authored
Don't try to query whether an incomplete type has a trivial copy constructor when determining whether a move constructor should be declared. llvm-svn: 155575
-
Fariborz Jahanian authored
a const qualified static c-function. // rdar://11314329 llvm-svn: 155564
-
Manuel Klimek authored
The driver needs to get the correct path to the executable to deduce the header search path. llvm-svn: 155542
-
Evgeniy Stepanov authored
llvm-svn: 155541
-
Evgeniy Stepanov authored
llvm-svn: 155540
-
Chris Lattner authored
with _REENTRANT. Also remove undef _POSIX_THREADS in phread.h. Patch by Brad Smith! llvm-svn: 155535
-
Nico Weber authored
A test for this is checking if this compiles: #include <float.h> inline bool IsFinite(const double& number) { return _finite(number) != 0; } That depends however on either mingw or msvc being installed, and chapuni tells me there might be issues with float.h on mingw, so no automated test is added. llvm-svn: 155507
-
- Apr 24, 2012
-
-
Nico Weber authored
Fixes the two issues mentioned in PR12146. llvm-svn: 155490
-
Fariborz Jahanian authored
declaration of __block variables on same lines with initializers. // rdsr://7547630 llvm-svn: 155473
-
Fariborz Jahanian authored
multiple declaration of block variables (with no initializer) on the same line. llvm-svn: 155462
-
Fariborz Jahanian authored
llvm-svn: 155449
-
Aaron Ballman authored
llvm-svn: 155441
-
Bill Wendling authored
a simulator. llvm-svn: 155436
-
Evgeniy Stepanov authored
llvm-svn: 155431
-
Kostya Serebryany authored
llvm-svn: 155430
-