| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
change a readonly property declared in the class (and its inherited protocols)
to writable property. (Fixes radar 7350645).
llvm-svn: 85836
|
|
|
|
|
|
| |
in its class implementation instead of crashing. Fixes radar 7350345.
llvm-svn: 85813
|
|
|
|
|
|
|
|
|
| |
integral constant expression, make sure to find where the initializer
was provided---inside or outside the class definition---since that can
affect whether we have an integral constant expression (and, we need
to see the initializer itself).
llvm-svn: 85741
|
|
|
|
|
|
|
|
|
| |
that is not known to be a base class at template definition time due
to some dependent base class. Treat qualified name lookup that refers
to a non-static data member or function as implicit class member
access when the "this" type would be dependent.
llvm-svn: 85718
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
parameters and template type parameters, which occurs when
substituting into the declarations of member templates inside class
templates. This eliminates errors about our inability to "reduce
non-type template parameter depth", fixing PR5311.
Also fixes a bug when instantiating a template type parameter
declaration in a member template, where we weren't properly reducing
the template parameter's depth.
LLVM's StringSwitch header now parses.
llvm-svn: 85669
|
|
|
|
|
|
| |
match it up with a declaration in the outer scope.
llvm-svn: 85628
|
|
|
|
| |
llvm-svn: 85612
|
|
|
|
| |
llvm-svn: 85594
|
|
|
|
| |
llvm-svn: 85576
|
|
|
|
|
|
| |
codegen).
llvm-svn: 85552
|
|
|
|
|
|
| |
arrays.
llvm-svn: 85550
|
|
|
|
|
|
| |
template instantiation.
llvm-svn: 85545
|
|
|
|
|
|
| |
derived-to-base pointer case
llvm-svn: 85532
|
|
|
|
| |
llvm-svn: 85529
|
|
|
|
| |
llvm-svn: 85524
|
|
|
|
|
|
|
|
| |
declaration.
Provide an API for getting the SourceRange of a TAL and use it judiciously.
llvm-svn: 85520
|
|
|
|
| |
llvm-svn: 85516
|
|
|
|
|
|
| |
initialized implicitly in constructors so that default arguments etc are set correctly. Fixes PR5283.
llvm-svn: 85510
|
|
|
|
|
|
|
| |
types. Preserve it through template instantiation. Preserve it through PCH,
although TSTs themselves aren't serializable, so that's pretty much meaningless.
llvm-svn: 85500
|
|
|
|
|
|
|
|
| |
class template partial specializations of member templates. Also,
fixes a silly little bug in the marking of "used" template parameters
in member templates. Fixes PR5236.
llvm-svn: 85447
|
|
|
|
|
|
| |
constructor. WIP.
llvm-svn: 85420
|
|
|
|
|
|
|
| |
which should come from the variable and wasn't correct for arrays in any case.
No change in functionality.
llvm-svn: 85415
|
|
|
|
|
|
| |
expression instead of crashing.
llvm-svn: 85401
|
|
|
|
| |
llvm-svn: 85353
|
|
|
|
|
|
|
| |
class pointer is the most derived common class of the two.
This is <rdar://problem/7334235>.
llvm-svn: 85337
|
|
|
|
|
|
| |
be inlined.
llvm-svn: 85307
|
|
|
|
|
|
| |
FunctionDecl::isInlineSpecified/setInlineSpecified.
llvm-svn: 85305
|
|
|
|
|
|
|
| |
function template specializations and member functions of class
template specializations.
llvm-svn: 85300
|
|
|
|
|
|
|
|
|
| |
members that have a definition. Also, use
CheckSpecializationInstantiationRedecl as part of this instantiation
to make sure that we diagnose the various kinds of problems that can
occur with explicit instantiations.
llvm-svn: 85270
|
|
|
|
|
|
|
| |
implementation technique doesn't call the constructor at that point.
DR302. Fixes pr5296.
llvm-svn: 85249
|
|
|
|
|
|
| |
code a bit. Test the fixits.
llvm-svn: 85231
|
|
|
|
|
|
|
|
|
|
| |
instantiation once we have committed to performing the
instantiation. As part of this, make our makeshift
template-instantiation location information suck slightly less.
Fixes PR5264.
llvm-svn: 85209
|
|
|
|
| |
llvm-svn: 85196
|
|
|
|
|
|
|
| |
complain that functions that have a return statement should be
declared noreturn. Fixed PR5286.
llvm-svn: 85195
|
|
|
|
| |
llvm-svn: 85193
|
|
|
|
|
|
| |
binary operators.
llvm-svn: 85153
|
|
|
|
| |
llvm-svn: 85129
|
|
|
|
|
|
| |
PR5297.
llvm-svn: 85117
|
|
|
|
|
|
| |
declared noreturn.
llvm-svn: 85075
|
|
|
|
|
|
| |
should not warn
llvm-svn: 85073
|
|
|
|
|
|
| |
Fixes PR4674.
llvm-svn: 85072
|
|
|
|
|
|
|
|
|
| |
process decl attributes instead of dropping them on the floor.
This allows us to diagnose cases like the testcase. Also don't
diagnose deprecated stuff in ActOnTag: not all uses of tags
may be 'uses', and SemaType does this now.
llvm-svn: 85071
|
|
|
|
|
|
|
|
| |
types) out of Sema::getTypeName into ConvertDeclSpecToType. getTypeName
is sometimes used as a predicate in the parser, so it could cause redundant
diags to be emitted. This is also needed by two upcoming enhancements.
llvm-svn: 85070
|
|
|
|
|
|
| |
opportunity to improve an error message and fix PR4498.
llvm-svn: 85068
|
|
|
|
| |
llvm-svn: 85067
|
|
|
|
|
|
|
| |
GetTypeForDeclarator and into the code that handles long long
already.
llvm-svn: 85063
|
|
|
|
|
|
|
| |
block return types only when a TST isn't specified, not every time
through GetTypeForDeclarator.
llvm-svn: 85062
|
|
|
|
| |
llvm-svn: 85061
|
|
|
|
|
|
|
|
|
| |
of ConvertDeclSpecToType, which I'd like to keep private to SemaType.cpp.
We do this by cons'ing up a trivial Declarator for the type.
John, please review.
llvm-svn: 85060
|
|
|
|
| |
llvm-svn: 85059
|