- Jul 26, 2010
-
-
Ted Kremenek authored
string argument type checking. llvm-svn: 109428
-
Ted Kremenek authored
llvm-svn: 109427
-
Sebastian Redl authored
Make sure that implicit qualification and derived-to-base conversions of xvalues preserve xvalue-ness. Unfortunately I have no idea how to test this property; there doesn't seem to be a syntactical construct that triggers such a conversion and still allows the distinction between prvalues and xvalues to be made. llvm-svn: 109406
-
Nick Lewycky authored
llvm-svn: 109396
-
- Jul 25, 2010
-
-
Douglas Gregor authored
llvm-svn: 109378
-
Douglas Gregor authored
since we aren't going to be calling them ever. llvm-svn: 109377
-
- Jul 24, 2010
-
-
Eli Friedman authored
llvm-svn: 109358
-
Eli Friedman authored
dependent size. llvm-svn: 109356
-
Chris Lattner authored
when the RHS of the ||/&& is ever 0 or 1. This handles a variety of creative idioms for "true" used in C programs and fixes many false positives at the expense of a few false negatives. This fixes rdar://8230351. llvm-svn: 109314
-
John McCall authored
Diagnose attempts to do this under the GNU or fragile NeXT runtimes. llvm-svn: 109298
-
Douglas Gregor authored
Sema::ActOnDeclarator doesn't mean that the Decl we ended up creating has a useful name. <rdar://problem/8229910> llvm-svn: 109296
-
John McCall authored
llvm-svn: 109280
-
- Jul 23, 2010
-
-
Fariborz Jahanian authored
Radar 8218839. llvm-svn: 109272
-
Eli Friedman authored
fixes crashes on both valid and invalid code. The diagnostic here could potentially be improved, but it's good enough as-is. llvm-svn: 109257
-
Douglas Gregor authored
them as such. Type::is(Signed|Unsigned|)IntegerType() now return false for vector types, and new functions has(Signed|Unsigned|)IntegerRepresentation() cover integer types and vector-of-integer types. This fixes a bunch of latent bugs. Patch from Anton Yartsev! llvm-svn: 109229
-
Bill Wendling authored
llvm-svn: 109219
-
Fariborz Jahanian authored
of same name. In nonfragile-abi2, lookup accesses a synthesized ivar. This is a transition warning. Radar 8225011. llvm-svn: 109197
-
- Jul 22, 2010
-
-
Fariborz Jahanian authored
warning flag in clang. Little more to do for a PCH issue. Radar 6507158. llvm-svn: 109129
-
- Jul 21, 2010
-
-
Ted Kremenek authored
GCC emits a warning instead of an error when using an unavailable Objective-C protocol, so now Clang's behavior is more strict in this case, but more consistent. We will need to see how much this fires on real code and determine whether this case should be downgraded to a warning. Fixes <rdar://problem/8213093>. llvm-svn: 109033
-
Fariborz Jahanian authored
a copy initialization. llvm-svn: 109025
-
Fariborz Jahanian authored
a copy initialization. Back out hack in objc rewriter. fixes radar 8213998. llvm-svn: 109024
-
- Jul 20, 2010
-
-
Ted Kremenek authored
llvm-svn: 108907
-
Ted Kremenek authored
derived 'PrintfConversionSpecifier' from this class. We will do the same for 'ScanfConversionSpecifier'. llvm-svn: 108903
-
Ted Kremenek authored
llvm-svn: 108900
-
Ted Kremenek authored
llvm-svn: 108896
-
Argyrios Kyrtzidis authored
FunctionTemplateDecl::findSpecialization. Redeclarations of specializations will not cause the previous decl to be removed from the set, the set will keep the canonical decl. findSpecialization will return the most recent redeclaration. llvm-svn: 108834
-
Argyrios Kyrtzidis authored
leaks though) and add methods to its interface for adding/finding specializations. Simplifies its users a bit and we no longer need to replace specializations in the folding set with their redeclarations. We just return the most recent redeclarations. As a bonus, it fixes http://llvm.org/PR7670. llvm-svn: 108832
-
Sebastian Redl authored
llvm-svn: 108807
-
Ted Kremenek authored
these don't actually consume an argument. llvm-svn: 108757
-
- Jul 19, 2010
-
-
Ted Kremenek authored
llvm-svn: 108750
-
Fariborz Jahanian authored
and a minor cleanup. llvm-svn: 108707
-
Zhongxing Xu authored
llvm-svn: 108694
-
http://llvm.org/PR7660Argyrios Kyrtzidis authored
A ParmVarDecl instantiated from a FunctionProtoType may have Record as DeclContext, in which case isStaticDataMember() will erroneously return true. llvm-svn: 108692
-
- Jul 18, 2010
-
-
Chandler Carruth authored
fixed return types. llvm-svn: 108657
-
Peter Collingbourne authored
The rationale is that we are copying the entire definition including parameter names which may differ between the declaration and the definition. This is particularly important if any parameters are unnamed in the declaration, as a DeclRef to an unnamed ParmVarDecl would cause the pretty printer to produce invalid output. llvm-svn: 108643
-
Chandler Carruth authored
their call expressions synthetically have the "deduced" types based on their first argument. We only insert conversions in the AST for arguments whose values require conversion to match the value type expected. This keeps PR7600 closed by maintaining the return type, but avoids assertions due to unexpected implicit casts making the type unsigned (test case added from Daniel). The magic is moved into the codegen for the atomic builtin which inserts the casts as needed at the IR level to raise the type to an integer suitable for the LLVM intrinsic. This shouldn't cause any real change in functionality, but now we can make the builtin be more truly polymorphic. llvm-svn: 108638
-
Chris Lattner authored
llvm-svn: 108633
-
- Jul 17, 2010
-
-
Eli Friedman authored
incomplete union (PR5692) and incomplete enum, and fixes obscure accepts-invalid on cast to incomplete struct. llvm-svn: 108630
-
Fariborz Jahanian authored
part of the new property synthesis by default. wip. llvm-svn: 108599
-
- Jul 16, 2010
-
-
Anders Carlsson authored
When checking whether to bind an expression to a temporary, don't bind Obj-C message send expressions who call methods that return references. llvm-svn: 108559
-