- Jun 10, 2011
-
-
Nick Lewycky authored
llvm-svn: 132855
-
Alexis Hunt authored
to study it. llvm-svn: 132843
-
Alexis Hunt authored
llvm-svn: 132842
-
Alexis Hunt authored
I believe, upon, careful review, that this code causes us to incorrectly handle exception specifications of copy assignment operators in C++03 mode. However, we currently do not seem to properly implement the subtle distinction between copying of members and bases made by implicit copy constructors and assignment operators in C++03 - namely that they are limited in their overload selection - in all cases. As such, I feel that committing this code is correct pending a careful review of our implementation of these semantics. llvm-svn: 132841
-
Jordy Rose authored
[analyzer] PR8962 again. Ban ParenExprs (and friends) from block-level expressions (by calling IgnoreParens before adding expressions to blocks). Undo 132769 (LiveVariables' local IgnoreParens), since it's no longer necessary. Also, have Environment stop looking through NoOp casts; it didn't match the behavior of LiveVariables. And once that's gone, the whole cast block of that switch is unnecessary. llvm-svn: 132840
-
Alexis Hunt authored
llvm-svn: 132835
-
Alexis Hunt authored
isn't yet used for the less controlled environments of initialization. Also a few random text fixups. llvm-svn: 132833
-
Richard Trieu authored
- Removed fix-it hints from template instaniations since changes to the templates are rarely helpful. - Changed the caret in template instaniations from the class/struct name to the class/struct keyword, matching the other warnings. - Do not offer fix-it hints when multiple declarations disagree. Warnings are still given. - Once a definition is found, offer a fix-it hint to all previous declarations with wrong tag. - Declarations that disagree with a previous definition will get a fix-it hint to change the declaration. llvm-svn: 132831
-
Fariborz Jahanian authored
llvm-svn: 132812
-
- Jun 09, 2011
-
-
Fariborz Jahanian authored
// rdar://9566314 llvm-svn: 132791
-
Hans Wennborg authored
This is a follow-up to r132565, and should address the rest of PR9969: Warn about cases such as int foo(A a, bool b) { return a + b ? 1 : 2; // user probably meant a + (b ? 1 : 2); } also when + is an overloaded operator call. llvm-svn: 132784
-
Bob Wilson authored
range checking for immediate operands. Radar 9558930. llvm-svn: 132783
-
Jordy Rose authored
[analyzer] Ignore parentheses around block-level expressions when computing liveness. Fixes the other half of PR8962. llvm-svn: 132769
-
Jordy Rose authored
llvm-svn: 132762
-
- Jun 08, 2011
-
-
Ted Kremenek authored
llvm-svn: 132757
-
Fariborz Jahanian authored
It is not a sanctioned keyword and is assumed as default. // rdar://8790791 llvm-svn: 132753
-
Stuart Hastings authored
comments. rdar://problem/9037836 llvm-svn: 132752
-
Peter Collingbourne authored
This fixes a memory error on FreeBSD (and is the right thing to do in any case). llvm-svn: 132750
-
Chandler Carruth authored
were intended for was suppressed. llvm-svn: 132746
-
Chandler Carruth authored
Very sorry for the accidental commit of WIP code. llvm-svn: 132745
-
Chandler Carruth authored
namespace set algorithm (re-)introduced. We may not have seen the 'std' namespace, but we should still suggested associated namespaces. Easy fix, but a bit annoying to test. llvm-svn: 132744
-
Chandler Carruth authored
llvm-svn: 132743
-
Stuart Hastings authored
rdar://problem/9037836 llvm-svn: 132737
-
Joerg Sonnenberger authored
may pick it up. This would create bad text relocations. llvm-svn: 132736
-
- Jun 07, 2011
-
-
Fariborz Jahanian authored
declared __weak objc-gc mode. // rdar://9666091. llvm-svn: 132731
-
Nick Lewycky authored
-undef flag is passed in. Also __ASSEMBLER__ with -x assembler-with-cpp. (Don't ask.) llvm-svn: 132708
-
Douglas Gregor authored
specializations within an explicit instantiation to default to off (enabled by -pedantic). Nobody else seem to implement C++ [temp.explicit]p3. Fixes PR10093. llvm-svn: 132704
-
Alexis Hunt authored
llvm-svn: 132700
-
Eli Friedman authored
llvm-svn: 132694
-
- Jun 06, 2011
-
-
Eli Friedman authored
llvm-svn: 132691
-
Alexis Hunt authored
llvm-svn: 132687
-
Jonathan D. Turner authored
llvm-svn: 132679
-
Douglas Gregor authored
specializing a member of an unspecialized template, and recover from such errors without crashing. Fixes PR10024 / <rdar://problem/9509761>. llvm-svn: 132677
-
Francois Pichet authored
llvm-svn: 132675
-
Francois Pichet authored
"unsafe mix of type 'int' and type 'bool' in operation" llvm-svn: 132674
-
Chandler Carruth authored
this. My suggestion assumed a viable erase method for iterators on SmallPtrSet. This patch restores his original pattern. llvm-svn: 132673
-
Richard Smith authored
Fix PR10053: Improve diagnostics and error recovery for code which some compilers incorrectly accept due to a lack of proper support for two-phase name lookup. llvm-svn: 132672
-
- Jun 05, 2011
-
-
Benjamin Kramer authored
llvm-svn: 132669
-
Sebastian Redl authored
Drop most of InitializationSequence::SequenceKind's values. They didn't really contain any information that the step array didn't contain too. This makes debugging dumps a bit less informative, but probably not significantly so. The advantage is that the redundancy is gone, so the code is easier to understand. ReferenceBinding is still there, because it is used in some unclear code. llvm-svn: 132667
-
Sebastian Redl authored
llvm-svn: 132666
-