- Feb 04, 2012
-
-
Anna Zaks authored
- osx.coreFoundation.containers.IndexOutOfBounds - osx.cocoa.SelfInit llvm-svn: 149747
-
Anna Zaks authored
llvm-svn: 149746
-
Anna Zaks authored
(Also renames in other ObjC checkers to create one category of checks.) llvm-svn: 149745
-
Sean Callanan authored
last commit. Sorry for the outage. llvm-svn: 149744
-
Nick Lewycky authored
llvm-svn: 149742
-
Nico Weber authored
by adding a triple, and the typedef makes things worse on windows. llvm-svn: 149740
-
Argyrios Kyrtzidis authored
of ArrayRef goodness. No functionality change. llvm-svn: 149739
-
Devang Patel authored
llvm-svn: 149738
-
Sean Callanan authored
want to provide "po"-like functionality which treats the result of an expression implicitly as "id" (if it is not otherwise known) and prints it as an Objective-C object. This has in the past been gated by the "DebuggerSupport" language option, but that is too general. Debuggers also provide other commands like "print" that do not make any assumptions about whether the object is an Objective-C object. This patch makes the assumption conditional on a new language option: DebuggerCastResultToId. I have also made corresponding modifications to the testsuite. llvm-svn: 149735
-
Devang Patel authored
llvm-svn: 149734
-
Argyrios Kyrtzidis authored
declaration is a reference. rdar://10749990 llvm-svn: 149733
-
Eli Friedman authored
Suppress the used-but-not-defined warning for static data members while I look into a rather nasty bug in the new odr-use marking code. llvm-svn: 149731
-
Richard Smith authored
The recent support for potential constant expressions exposed a bug in the implementation of libstdc++4.6, where numeric_limits<int>::min() is defined as (int)1 << 31, which isn't a constant expression. Disable the 'constexpr function never produces a constant expression' error inside system headers to compensate. llvm-svn: 149729
-
Devang Patel authored
llvm-svn: 149726
-
Nick Lewycky authored
llvm-svn: 149725
-
Nico Weber authored
Idea by Jean-Daniel Dupas. llvm-svn: 149721
-
Eli Friedman authored
llvm-svn: 149719
-
- Feb 03, 2012
-
-
Eli Friedman authored
Still left: explicit captures in lambdas need to cause implicit capture, and I need to take a look at the diagnostics for some cases. llvm-svn: 149718
-
Douglas Gregor authored
size. Otherwise, we can end up with bogus layouts. llvm-svn: 149703
-
Douglas Gregor authored
template without a corresponding parameter pack, don't immediately substitute the alias template. This is under discussion in the C++ committee, and may become ill-formed, but for now we match GCC. llvm-svn: 149697
-
Argyrios Kyrtzidis authored
llvm-svn: 149696
-
Hans Wennborg authored
Also, in C, call this a C11 extension rather than a GNU extension. llvm-svn: 149695
-
Douglas Gregor authored
template. Such pack expansions can easily fail at template instantiation time, if the expanded parameter packs are of the wrong length. Fixes <rdar://problem/10040867>, PR9021, and the example that came up today at Going Native. llvm-svn: 149685
-
Anna Zaks authored
llvm-svn: 149682
-
rdar://problem/10799325Bob Wilson authored
That llvm change removed the -trap-func backend option, so that using -ftrap-function with clang would cause the backend to complain. Fix it by adding the trap function name to the CodeGenOptions and passing it through to the TargetOptions. llvm-svn: 149679
-
Argyrios Kyrtzidis authored
instead of a SourceRange, and handle the case where the range is a char (not token) range. llvm-svn: 149677
-
Argyrios Kyrtzidis authored
the limit on the number of fixits. llvm-svn: 149676
-
Argyrios Kyrtzidis authored
available. llvm-svn: 149675
-
Ted Kremenek authored
Further downgrade -Warc-bridge-casts-disallowed-in-nonarc to a warning (not mapped to an error). We can consider mapping it back to an error later. llvm-svn: 149670
-
Richard Smith authored
* When we detect that a CFG block has inconsistent lock sets, point the diagnostic at the location where we found the inconsistency, and point a note at somewhere the inconsistently-locked mutex was locked. * Fix the wording of the normal (non-loop, non-end-of-function) case of this diagnostic to not suggest that the mutex is going out of scope. * Fix the diagnostic emission code to keep a warning and its note together when sorting the diagnostics into source location order. llvm-svn: 149669
-
Richard Smith authored
'continue' and another block, prefer the lockset from the other block, and diagnose the 'continue' block as being the end of a loop. llvm-svn: 149666
-
Chad Rosier authored
a cast to the same type is allowed so long as it does not cast away constness. Fix for PR11747. Patch by Aaron Ballman. Reviewed by Eli. llvm-svn: 149664
-
Eli Friedman authored
Refactor capture in blocks to use new-style capture hooks. Start adding a bit of the code for lambdas. The only visible changes are that we use the C++11 odr-used rules to figure out when a variable is captured, and type-checking in lambdas is slightly more accurate. llvm-svn: 149663
-
Chad Rosier authored
rdar://10736625 llvm-svn: 149662
-
Eli Friedman authored
Note whether a lambda is mutable in the LambdaScopeInfo; this information will be necessary to handle references to captured variables. llvm-svn: 149660
-
Ted Kremenek authored
Make error about using bridge casts in non-ARC mode a warning that is default mapped to an error. This is to ease the transition of large apps moving from non-ARC to ARC. llvm-svn: 149659
-
Anna Zaks authored
a builtin. llvm-svn: 149657
-
Fariborz Jahanian authored
it is treated as of 'id' type resulting in multiple method lookup. // rdar://10686120 llvm-svn: 149653
-
Rafael Espindola authored
that just uses the new toolchain probing logic. This fixes linking with -m32 on 64 bit systems (the /32 dir was not being added to the search). llvm-svn: 149652
-
Douglas Gregor authored
llvm-svn: 149645
-