| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
for malloc/free checking. Patch by Andrew McGregor!
llvm-svn: 109939
|
| |
|
|
| |
llvm-svn: 109871
|
| |
|
|
|
|
|
| |
auto-synthesized (nonfragile-abi2 specific).
Fixes radar 8251648.
llvm-svn: 109866
|
| |
|
|
| |
llvm-svn: 109865
|
| |
|
|
|
|
| |
some downstream crashes, among them rdar://problem/8229840.
llvm-svn: 109850
|
| |
|
|
| |
llvm-svn: 109814
|
| |
|
|
|
|
|
| |
variables to those in file scope (nonfragile-abi2).
Fixes radar 8248681.
llvm-svn: 109758
|
| |
|
|
|
|
| |
with CK_NoOp. Fixes PR7727.
llvm-svn: 109757
|
| |
|
|
|
|
|
| |
one because we're referencing a variable of type NSString &), the
resulting type is an ObjCObjectPointerType.
llvm-svn: 109753
|
| |
|
|
|
|
|
| |
qualifiers) when checking a K&R function definition against a previous
prototype. Fixes <rdar://problem/8193107>.
llvm-svn: 109751
|
| |
|
|
|
|
| |
before looking for conversions to pointer type. Fixes <rdar://problem/8248780>.
llvm-svn: 109749
|
| |
|
|
|
|
|
| |
for AST nodes that aren't actually out-of-line (i.e., require a
nested-name-specifier). Fixes <rdar://problem/8204126>.
llvm-svn: 109704
|
| |
|
|
|
|
| |
qualified name. Fixes <rdar://problem/8231724>.
llvm-svn: 109682
|
| |
|
|
|
|
|
| |
condition is not of enumeration type, provide code-completion results
containing all values of integral or enumeral type.
llvm-svn: 109677
|
| |
|
|
|
|
|
| |
rebuilder, i.e., remove a silly short-sighted hack from long
ago. Thanks to Abramo Bagnara for the test case/bug report!
llvm-svn: 109583
|
| |
|
|
|
|
|
|
| |
dependent bases, construct a dependent nested-name-specifier rather
than complaining that the name could not be found within the current
instantiation itself. Fixes PR7725.
llvm-svn: 109582
|
| |
|
|
| |
llvm-svn: 109537
|
| |
|
|
| |
llvm-svn: 109532
|
| |
|
|
|
|
|
|
| |
is prep for scanf format"
Got errors about ASTContext being undefined with Visual Studio 2010.
llvm-svn: 109491
|
| |
|
|
| |
llvm-svn: 109443
|
| |
|
|
| |
llvm-svn: 109440
|
| |
|
|
|
|
|
|
| |
scanf format
string argument type checking.
llvm-svn: 109428
|
| |
|
|
| |
llvm-svn: 109427
|
| |
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 109396
|
| |
|
|
| |
llvm-svn: 109378
|
| |
|
|
|
|
| |
since we aren't going to be calling them ever.
llvm-svn: 109377
|
| |
|
|
| |
llvm-svn: 109358
|
| |
|
|
|
|
| |
dependent size.
llvm-svn: 109356
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Diagnose attempts to do this under the GNU or fragile NeXT runtimes.
llvm-svn: 109298
|
| |
|
|
|
|
|
| |
Sema::ActOnDeclarator doesn't mean that the Decl we ended up creating
has a useful name. <rdar://problem/8229910>
llvm-svn: 109296
|
| |
|
|
| |
llvm-svn: 109280
|
| |
|
|
|
|
| |
Radar 8218839.
llvm-svn: 109272
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 109219
|
| |
|
|
|
|
|
| |
of same name. In nonfragile-abi2, lookup accesses a synthesized
ivar. This is a transition warning. Radar 8225011.
llvm-svn: 109197
|
| |
|
|
|
|
|
| |
warning flag in clang. Little more to do
for a PCH issue. Radar 6507158.
llvm-svn: 109129
|
| |
|
|
|
|
|
|
|
|
|
|
| |
behavior. Note that
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
|
| |
|
|
|
|
| |
a copy initialization.
llvm-svn: 109025
|
| |
|
|
|
|
|
| |
a copy initialization. Back out hack in objc rewriter.
fixes radar 8213998.
llvm-svn: 109024
|
| |
|
|
| |
llvm-svn: 108907
|
| |
|
|
|
|
|
| |
derived 'PrintfConversionSpecifier' from this class. We will do the same for
'ScanfConversionSpecifier'.
llvm-svn: 108903
|
| |
|
|
|
|
| |
printf checking).
llvm-svn: 108900
|
| |
|
|
|
|
| |
functionality change.
llvm-svn: 108896
|
| |
|
|
|
|
|
|
|
|
|
| |
detail and introduce
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
implementation detail (InsertPos
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
|
| |
|
|
| |
llvm-svn: 108807
|
| |
|
|
|
|
|
|
| |
positional arguments, since
these don't actually consume an argument.
llvm-svn: 108757
|