| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
allocating functions.
llvm-svn: 157037
|
| |
|
|
| |
llvm-svn: 157034
|
| |
|
|
|
|
|
|
| |
that the methods have the same number of parameters, although we
certainly assumed this in many places. Objective-C can be insane
sometimes. Fixes <rdar://problem/11460990>.
llvm-svn: 157025
|
| |
|
|
| |
llvm-svn: 157022
|
| |
|
|
|
|
| |
have NULL interfaces behind a category, which can happen in invalid code. Fixes <rdar://problem/11478173>, a recent regression
llvm-svn: 157021
|
| |
|
|
|
|
| |
We're certain that it doesn't exist.
llvm-svn: 157017
|
| |
|
|
| |
llvm-svn: 157014
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
message" ARC
migration error.
This is more trouble that it is worth; autoreleasing a value without holding on it
is a valid use-case, we should not "punish" correct code for the minority of
broken/fragile programs that depend on the behavior of -autorelease.
rdar://9914061
llvm-svn: 156999
|
| |
|
|
| |
llvm-svn: 156993
|
| |
|
|
| |
llvm-svn: 156988
|
| |
|
|
| |
llvm-svn: 156987
|
| |
|
|
| |
llvm-svn: 156984
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
about argument type mismatch.
This gives a nicer diagnostic in cases like
printf(fmt,
i);
where previously the snippet just pointed at 'fmt' (with a note at the
definition of fmt).
It's a wash for cases like
printf("%f",
i);
where previously we snippeted the offending portion of the format string,
but didn't indicate which argument was at fault.
llvm-svn: 156968
|
| |
|
|
|
|
|
|
|
|
|
| |
location
of the DeclStmt node, otherwise libclang will not work for anything inside that
class.
rdar://10837710
llvm-svn: 156966
|
| |
|
|
|
|
|
|
|
|
|
|
| |
used by the preprocessor. Apple's GCC also supported a -A option for linking.
The ld man page has the following:
-A basefile - Obsolete incremental load format. This option is obsolete.
Nick Kledzik confirms this option is no longer needed/supported.
rdar://11455614
llvm-svn: 156965
|
| |
|
|
|
|
|
|
| |
Disambiguate past such a potential problem, and use the absence of 'typename'
to break ties in favor of a parenthesized thingy being an initializer, if
nothing else in the declaration disambiguates it as declaring a function.
llvm-svn: 156963
|
| |
|
|
| |
llvm-svn: 156959
|
| |
|
|
|
| |
FIXME: JSON doesn't like path separator '\', on Win32 hosts.
llvm-svn: 156957
|
| |
|
|
|
|
| |
Since r156650, clang has stopped emitting byval arguments for MIPS targets.
llvm-svn: 156954
|
| |
|
|
| |
llvm-svn: 156953
|
| |
|
|
| |
llvm-svn: 156950
|
| |
|
|
| |
llvm-svn: 156949
|
| |
|
|
| |
llvm-svn: 156947
|
| |
|
|
|
|
|
|
|
| |
so that the
generation of implicit floating point instructions can be disable for ARM.
rdar://11409142
llvm-svn: 156942
|
| |
|
|
| |
llvm-svn: 156941
|
| |
|
|
|
|
| |
Microsoft mode, from Will Wilson!
llvm-svn: 156940
|
| |
|
|
| |
llvm-svn: 156938
|
| |
|
|
|
|
|
|
|
|
|
| |
for subtle misspellings such as -Wno-unused-command-line-arguments instead of
-Wno-unused-command-line-argument.
Also fix the diagnostic messages to properly handle -Wno- options. Previously,
the positive version was always emitted (i.e., -Wfoo was emitted for -Wno-foo).
rdar://11461500
llvm-svn: 156937
|
| |
|
|
|
|
| |
its type source info. Fixes indexing references inside @encode().
llvm-svn: 156936
|
| |
|
|
|
|
|
|
| |
a warning for an extra semi-colon after function definitions. Added logic
so that a block of semi-colons on a line will only get one warning instead
of a warning for each semi-colon.
llvm-svn: 156934
|
| |
|
|
|
|
| |
This breaks the build with -triple i386-apple-darwin9.
llvm-svn: 156932
|
| |
|
|
|
|
| |
FYI, they can pass on Cygwin w/o any tweaks.
llvm-svn: 156930
|
| |
|
|
|
|
| |
This passes on MSYS bash and Cygwin.
llvm-svn: 156929
|
| |
|
|
|
|
|
|
|
| |
lambda as referring to a local in an enclosing scope if we're in the
enclosing scope of the lambda (not it's function call operator). Also,
turn the test into an IR generation test, since that's where the
crashes occurred. Really fixes PR12746 / <rdar://problem/11465120>.
llvm-svn: 156926
|
| |
|
|
|
|
|
| |
blocks and lambdas, based heavily on a patch from Meador Inge. Fixes
PR12746 / <rdar://problem/11465120>.
llvm-svn: 156925
|
| |
|
|
| |
llvm-svn: 156923
|
| |
|
|
| |
llvm-svn: 156922
|
| |
|
|
| |
llvm-svn: 156921
|
| |
|
|
| |
llvm-svn: 156920
|
| |
|
|
|
|
|
|
|
|
| |
The new debug.ExprInspection checker looks for calls to clang_analyzer_eval,
and emits a warning of TRUE, FALSE, or UNKNOWN (or UNDEFINED) based on the
constrained value of its (boolean) argument. It does not modify the analysis
state though the conditions tested can result in branches (e.g. through the
use of short-circuit operators).
llvm-svn: 156919
|
| |
|
|
| |
llvm-svn: 156916
|
| |
|
|
|
|
| |
No functionality change.
llvm-svn: 156914
|
| |
|
|
| |
llvm-svn: 156912
|
| |
|
|
|
|
|
|
| |
on Linux in the getting started documentation.
Patch by Nathan Ridge.
llvm-svn: 156911
|
| |
|
|
| |
llvm-svn: 156910
|
| |
|
|
|
|
| |
into the appropriate place at build time
llvm-svn: 156906
|
| |
|
|
| |
llvm-svn: 156904
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This improves the conversion diagnostics (by correctly pointing to the loop
construct for conversions that may've been caused by the contextual conversion
to bool caused by a condition expression) and also causes the NULL conversion
warnings to be correctly suppressed when crossing a macro boundary in such a
context. (previously, since the conversion context location was incorrect, the
suppression could not be performed)
Reported by Nico Weber as feedback to r156826.
llvm-svn: 156901
|
| |
|
|
|
|
| |
Fixes pr12835.
llvm-svn: 156897
|
| |
|
|
|
|
|
|
|
| |
To do that, keep track of the location of the protocol id in the ObjCProtocolExpr
AST node.
rdar://11190837
llvm-svn: 156890
|