| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
llvm-svn: 150284
|
| |
|
|
|
|
| |
recursive capture. This is far more interesting for IRgen.
llvm-svn: 150283
|
| |
|
|
|
|
| |
default arguments if in fact those lambdas capture any entity.
llvm-svn: 150282
|
| |
|
|
| |
llvm-svn: 150281
|
| |
|
|
|
|
|
|
| |
Sascha Wildner.
Setting UserLabelPrefix correctly fixes PR11949.
llvm-svn: 150280
|
| |
|
|
| |
llvm-svn: 150276
|
| |
|
|
| |
llvm-svn: 150275
|
| |
|
|
|
|
|
|
|
|
| |
When creating the MCSubtargetInfo, the assembler driver uses the CPU and
feature string to construct a more accurate model of what instructions
are and are not legal.
rdar://10840476
llvm-svn: 150273
|
| |
|
|
| |
llvm-svn: 150268
|
| |
|
|
| |
llvm-svn: 150267
|
| |
|
|
| |
llvm-svn: 150266
|
| |
|
|
|
|
| |
ASTMutationListener.
llvm-svn: 150265
|
| |
|
|
|
|
| |
specialization in its USR string.
llvm-svn: 150264
|
| |
|
|
|
|
| |
Fixes <rdar://problem/8269537>.
llvm-svn: 150260
|
| |
|
|
|
|
|
|
|
|
|
|
| |
default is '=', and reword the warning about explicitly capturing
'this' in such lambdas to indicate that only explicit capture is
banned.
Introduce Fix-Its for this and other "save the programmer from
themself" rules regarding what can be explicitly captured and what
must be implicitly captured.
llvm-svn: 150256
|
| |
|
|
|
|
|
|
| |
nested captures. We currently don't get odr-use correct in array
bounds, so that bit is commented out while we sort out what we need to
do.
llvm-svn: 150255
|
| |
|
|
|
|
|
|
| |
have finished parsing the body, so that name lookup will never find
anything within the closure type. Then, add this operator() and the
conversion function (if available) before completing the class.
llvm-svn: 150252
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Correct the handling of the restrictions on usage of cv-qualified and
ref-qualified function types.
o Fix a bug where such types were rejected in template type parameter default
arguments, due to such arguments not being treated as a template type arg
context.
o Remove the ExtWarn for usage of such types as template arguments; that was
a standard defect, not a GCC extension.
o Improve the wording and unify the code for diagnosing cv-qualifiers with the
code for diagnosing ref-qualifiers.
llvm-svn: 150244
|
| |
|
|
| |
llvm-svn: 150243
|
| |
|
|
| |
llvm-svn: 150242
|
| |
|
|
|
|
|
|
|
|
|
| |
to pretty-print such function types better, and to fix a case where we were not
instantiating templates in lexical order. In passing, move the Variadic bit from
Type's bitfields to FunctionProtoType to get the Type bitfields down to 32 bits.
Also ensure that we always substitute the return type of a function when
substituting explicitly-specified arguments, since that can cause us to bail
out with a SFINAE error before we hit a hard error in parameter substitution.
llvm-svn: 150241
|
| |
|
|
| |
llvm-svn: 150240
|
| |
|
|
| |
llvm-svn: 150239
|
| |
|
|
|
|
|
|
|
|
| |
This changes function prolog in such a way as to avoid out-of-bounds
stack store in the case when coerce-to type has a larger storage size
than the real argument type.
Fixes PR11905.
llvm-svn: 150238
|
| |
|
|
|
|
|
| |
expression. Implement C++11 [expr.prim.lambda]p12's requirement that
capturing a variable will odr-use it.
llvm-svn: 150237
|
| |
|
|
|
|
| |
per C++ [expr.prim.lambda]p6.
llvm-svn: 150236
|
| |
|
|
|
|
|
| |
the variables captured by a lambda to the fields that store the
captured values. To be used in IRgen.
llvm-svn: 150235
|
| |
|
|
|
|
|
| |
incomplete class type which has an overloaded operator&, it's now just
unspecified whether the overloaded operator or the builtin is used.
llvm-svn: 150234
|
| |
|
|
| |
llvm-svn: 150231
|
| |
|
|
|
|
|
|
|
| |
This is a relatively noisy warning for a codebase not explicitly designed for
it (effectively enforcing a stylistic constraint about the use of defaults
in switches over enums) & there's nothing Clang does to clean up the noise
when compared to GCC's implementation so the same decision seems suitable.
llvm-svn: 150230
|
| |
|
|
|
|
|
|
|
| |
used so profusely
in many APIs and large codebases that this made the deprecated warning trigger happy to
the point of not being useful.
llvm-svn: 150223
|
| |
|
|
|
|
| |
the same way we do for non-template classes. <rdar://problem/10791194>.
llvm-svn: 150221
|
| |
|
|
|
|
| |
the checker over postgres and sqlite.
llvm-svn: 150216
|
| |
|
|
|
|
| |
(use of return instead of continue), wording.
llvm-svn: 150215
|
| |
|
|
| |
llvm-svn: 150212
|
| |
|
|
| |
llvm-svn: 150210
|
| |
|
|
| |
llvm-svn: 150209
|
| |
|
|
|
|
|
| |
This looks like it had a small, but measurable performance improvement on -O0
compile time for our ObjC tests.
llvm-svn: 150208
|
| |
|
|
|
|
| |
properly support them.
llvm-svn: 150207
|
| |
|
|
|
|
|
|
| |
has been declared in its primary class, superclass,
or in one of their protocols, no need to issue unimplemented method.
// rdar://10823023
llvm-svn: 150206
|
| |
|
|
|
|
| |
checking. Fixes PR10620 / <rdar://problem/9958362> .
llvm-svn: 150204
|
| |
|
|
|
|
|
| |
It was never updated for API changes in r149311/r149336/r149339
and r147688.
llvm-svn: 150202
|
| |
|
|
|
|
|
| |
Hardcoding the location of the build directory seems like it would
break at `make install`/packaging time.
llvm-svn: 150201
|
| |
|
|
|
|
|
| |
Double fields of by-value class objects should be passed in floating point
registers.
llvm-svn: 150200
|
| |
|
|
|
|
|
|
| |
unused and wasted space for nothing.
- per PR11952.
llvm-svn: 150199
|
| |
|
|
|
|
| |
class objects follow the same rules as those returning struct objects.
llvm-svn: 150196
|
| |
|
|
|
|
| |
list; it is not an expression.
llvm-svn: 150194
|
| |
|
|
| |
llvm-svn: 150193
|
| |
|
|
| |
llvm-svn: 150192
|
| |
|
|
|
|
| |
semantics.
llvm-svn: 150190
|