- May 05, 2011
-
-
Fariborz Jahanian authored
packed attribute on the field. //rdar://9217290 llvm-svn: 130948
-
Eli Friedman authored
PR9849: Fix _mm_setr_pi32 and friends to actually work correctly. They broke with the MMX rewrite a while back. llvm-svn: 130945
-
Fariborz Jahanian authored
blockScopeInfo's CapturesCXXThis field need get set as well. // rdar://9362021. John M. please review. llvm-svn: 130930
-
Devang Patel authored
llvm-svn: 130929
-
Douglas Gregor authored
sense). Fixes <rdar://problem/9366066> by eliminating an inconsistency between C++ overloading (which handled scoped enumerations correctly) and C binary operator type-checking (which didn't). llvm-svn: 130924
-
Douglas Gregor authored
also include methods with zero-argument selectors. Implements <rdar://problem/9048332>. llvm-svn: 130922
-
Argyrios Kyrtzidis authored
llvm-svn: 130919
-
Ted Kremenek authored
Add Checker callback for running a checker at the end of processing an entire TranslationUnit. Patch by Lei Zhang. llvm-svn: 130913
-
Alexis Hunt authored
There's some unused stuff for now. llvm-svn: 130912
-
Daniel Dunbar authored
llvm-svn: 130909
-
Matt Beaumont-Gay authored
llvm-svn: 130906
-
Douglas Gregor authored
the overloading of member and non-member functions results in arity mismatches that don't fit well into our overload-printing scheme. This only happens for invalid code (which breaks the arity invariants for these cases), so just suppress the diagnostic rather than inventing anything new. Fixes <rdar://problem/9222009>. llvm-svn: 130902
-
Nick Lewycky authored
foo.pic.gcno instead of foo.gcno. llvm-svn: 130899
-
Alexis Hunt authored
llvm-svn: 130898
-
Douglas Gregor authored
that we've previously seen, both in declared methods and from previous KVC completions, to eliminate duplicates. Fixes <rdar://problem/9162207>. llvm-svn: 130890
-
Alexis Hunt authored
Increase robustness of the delegating constructor cycle detection mechanism. No more infinite loops on invalid or logic errors leading to false results. Ensure that this is maintained correctly accross serialization. llvm-svn: 130887
-
Ted Kremenek authored
ASTUnit::LoadFromASTFile(): recover the resources from an ASTReader if it crashes during PCH validation. llvm-svn: 130886
-
Douglas Gregor authored
information. Rather than looking at the declaration kind to figure out what TypeLoc to build, look at the type; it makes so much more sense. Fixes <rdar://problem/9086649>. llvm-svn: 130882
-
Matt Beaumont-Gay authored
We can use this to produce nice diagnostics (and try to fixit-and-recover) in various cases where we might see "MyFunction" instead of "MyFunction()". The changes in SemaExpr are an example of how to use isExprCallable. llvm-svn: 130878
-
- May 04, 2011
-
-
Douglas Gregor authored
template parameter of type 'bool', force the value to be zero or one. Fixes <rdar://problem/9169404>. llvm-svn: 130873
-
Bill Wendling authored
Ivar offsets for synthesized ivars are wrong, which could end up with a large number of dirty pages because of ivar fixups at runtime. When we pack all of the synthesized ivars into the same section, it limits the number of dirty pages created. Place them in the "__DATA,__objc_ivar" section. <rdar://problem/9374905> llvm-svn: 130870
-
Nick Lewycky authored
llvm-svn: 130866
-
Bill Wendling authored
llvm-svn: 130864
-
Fariborz Jahanian authored
Adjacent bit fields are packed into the same 1-, 2-, or 4-byte allocation unit if the integral types are the same size. // rdar://8823265. llvm-svn: 130851
-
Axel Naumann authored
Like in r126648, provide (empty) default implementation for pure virtual getMemoryBufferSizes(). Not all use cases have meaningful implementations. llvm-svn: 130838
-
Axel Naumann authored
Add C++ include paths for libstdc++ with Ubuntu 11.04 and Debian's libstdc++6-4.5, as collected from http://packages.ubuntu.com/search?mode=exactfilename&suite=natty§ion=all&arch=any&searchon=contents&keywords=c%2B%2Blocale.h and http://packages.debian.org/wheezy/armel/libstdc++6-4.5-dev/filelist Fixes compilation with clang++ on Ubuntu 11.04. llvm-svn: 130837
-
Alexis Hunt authored
This is more efficient as it's all done at once at the end of the TU. This could still get expensive, so a flag is provided to disable it. As an added bonus, the diagnostics will now print out a cycle. The PCH test is XFAILed because we currently can't deal with a note emitted in the header and I, being tired, see no other way to verify the serialization of delegating constructors. We should probably address this problem /somehow/ but no good solution comes to mind. llvm-svn: 130836
-
Nick Lewycky authored
llvm-svn: 130833
-
Bill Wendling authored
llvm-svn: 130830
-
Nick Lewycky authored
llvm-svn: 130828
-
John McCall authored
if they match that production, i.e. if they're template type parameters or decltypes (or, as an obvious case not yet described in the ABI document, if they're template template parameters applied to template arguments). llvm-svn: 130824
-
Alexis Hunt authored
llvm-svn: 130822
-
Alexis Hunt authored
declarations. llvm-svn: 130821
-
Douglas Gregor authored
tag, filter out those ambiguous names that we found if they aren't within the declaration context where this newly-defined tag will be visible. This is basically a hack, because we really need to fix the lookup of tag declarations in this case to not find things it shouldn't. However, it's better than what we had before, and it fixes <rdar://problem/9168556>. llvm-svn: 130810
-
Douglas Gregor authored
which determines whether a particular file is actually a header that is intended to be guarded from multiple inclusions within the same translation unit. llvm-svn: 130808
-
Argyrios Kyrtzidis authored
from a CompilerInvocation along with an ASTFrontendAction to invoke, and without all the goo about the precompiled preamble. llvm-svn: 130805
-
Alexis Hunt authored
the body of a delegating constructor call. This means that the delegating constructor implementation should be complete and correct, though there are some rough edges (diagnostic quality with the cycle detection and using a deleted destructor). llvm-svn: 130803
-
Fariborz Jahanian authored
the followup data member in an ms_struct struct. // rdar:// 8823265 llvm-svn: 130795
-
- May 03, 2011
-
-
Alexis Hunt authored
lib/Sema/SemaDeclCXX.cpp to avoid getting stuck in an infinite loop. See the comment for more explanation. llvm-svn: 130788
-
Douglas Gregor authored
checking both the source and the destination operands, renaming the warning group to -Wnon-pod-memaccess and tweaking the diagnostic text in the process. llvm-svn: 130786
-