- May 13, 2011
-
-
Alexis Hunt authored
More comprehensive testing once copy {constructors,assignment operators} can be defaulted. llvm-svn: 131275
-
Douglas Gregor authored
template parameter lists to scope specifiers for friend declarations about injected class name types. Fixes the g++.dg/template/memfriend5.C regression in the GCC testsuite. llvm-svn: 131272
-
Alexis Hunt authored
llvm-svn: 131270
-
Bill Wendling authored
correct unaligned load. llvm-svn: 131268
-
Alexis Hunt authored
llvm-svn: 131260
-
Alexis Hunt authored
llvm-svn: 131259
-
Nick Lewycky authored
llvm-svn: 131255
-
Fariborz Jahanian authored
don't build circular AST in protocol's protocol list when user code has introduced it. Indexer and other clients may crash. // rdar://9221614 llvm-svn: 131254
-
- May 12, 2011
-
-
Devang Patel authored
s/DW_AT_APPLE_objc_class_extension/DW_AT_APPLE_objc_complete_type/g llvm-svn: 131245
-
Devang Patel authored
llvm-svn: 131242
-
Howard Hinnant authored
llvm-svn: 131240
-
Devang Patel authored
Use DW_AT_APPLE_objc_class_extension attribute to identify interfaces that represent class extension. Radar 9423077. llvm-svn: 131239
-
Bill Wendling authored
(__m128){ p[0], p[1], p[2], p[3] } which produces really bad code. This could be done in instcombine, but it's probably better to do it in the front-end instead. <rdar://problem/9424836> llvm-svn: 131237
-
Douglas Gregor authored
llvm-svn: 131230
-
Alexis Hunt authored
They are actually grammatically considered definitions and parsed accordingly. This fixes the outstanding bugs regarding defaulting functions after their declarations. We now really nicely diagnose the following construct (try it!) int foo() = delete, bar; Still todo: Defaulted functions other than default constructors Test cases (including for the above construct) llvm-svn: 131228
-
Alexis Hunt authored
defaulted default constructors. As it happens, making sure that we handle out-of-line defaulted functions properly will involved making sure that we actually parse them correctly, so that's coming after. llvm-svn: 131224
-
Alexis Hunt authored
We still don't parse out-of-line defaults correctly, which is needed to get the full effect out of this patch. llvm-svn: 131223
-
Nick Lewycky authored
llvm-svn: 131222
-
Eli Friedman authored
llvm-svn: 131220
-
John McCall authored
llvm-svn: 131215
-
Nick Lewycky authored
llvm-svn: 131212
-
Richard Smith authored
Fix PR9902: correctly substitute alias templates within the template in which they are defined: provide an empty list of arguments for each containing template context during substitution. llvm-svn: 131211
-
Douglas Gregor authored
argument deduction failures. Only implemented in C++0x, since this is a significant change in behavior from C++98/03. llvm-svn: 131209
-
Douglas Gregor authored
nested of an out-of-line declaration, only require a 'template<>' header for each enclosing class template that hasn't been previously specialized; previously, we were requiring 'template<>' for enclosing class templates and members of class templates that hadn't been previously specialized. Fixes <rdar://problem/9422013>. llvm-svn: 131207
-
Ted Kremenek authored
llvm-svn: 131206
-
Alexis Hunt authored
This means we get C++0x jump-across-intializer semantics correct. llvm-svn: 131204
-
Alexis Hunt authored
Yes, I'm aware that the diagnostics are awful. Tests to follow. llvm-svn: 131203
-
Francois Pichet authored
llvm-svn: 131202
-
Francois Pichet authored
In Microsoft mode, allow conversion from pointer to integral type no matter what size the integral type is. Necessary to parse MFC code. Example: void f(char *ptr) { char var = (char)ptr; } llvm-svn: 131201
-
- May 11, 2011
-
-
Fariborz Jahanian authored
llvm-svn: 131190
-
Fariborz Jahanian authored
Concludes // radar://8823265. llvm-svn: 131188
-
Oscar Fuentes authored
gcc. Fixes PR9886. llvm-svn: 131182
-
John McCall authored
then teach -Wreturn-type to handle the same. Net effect: we now correctly handle noreturn attributes on member calls in the CFG. llvm-svn: 131178
-
Eli Friedman authored
dynamic_cast correctly. llvm-svn: 131177
-
Francois Pichet authored
This removes 2 errors when parsing MFC code with clang Example: class A { virtual void f() = 0 { } } llvm-svn: 131175
-
John McCall authored
llvm-svn: 131170
-
Ted Kremenek authored
llvm-svn: 131158
-
- May 10, 2011
-
-
Douglas Gregor authored
that they are C++0x extensions, and put them in the appropriate group. We already support most of the semantics. Addresses <rdar://problem/9407525>. llvm-svn: 131153
-
Matt Beaumont-Gay authored
Wait, what? So, we run Clang (and LLVM) tests in an environment where the md5sum of the input files becomes a component of the path. When testing the preprocessor, the path becomes part of the output (in line directives). In this test, we were grepping for the absence of "abc" in the output. When the stars aligned properly, the md5sum component of the path contained "abc" and the test failed. Oops. llvm-svn: 131147
-
Alexis Hunt authored
I've edited one diagnostic which would print "copy constructor" for copy constructors and "constructor" for any other constructor. If anyone is extremely enamored with this, it can be reinstated with a simple boolean flag rather than calling getSpecialMember, which is inappropriate. llvm-svn: 131143
-