| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
It is only a crash if the compiler optimize for this!=nullptr because
LocalInstantiationScope::getPartiallySubstitutedPack checks if 'this' is null
(This is crashing when clang is compiled with GCC6)
Differential Revision: http://reviews.llvm.org/D20511
llvm-svn: 270845
|
| |
|
|
|
|
| |
24 tests have been updated for C++11 compatibility.
llvm-svn: 266387
|
| |
|
|
|
|
|
|
|
| |
particular don't assume that two declarations of the same kind in the same
context are declaring the same entity. That's not true when the same name is
declared multiple times as internal-linkage symbols within a module.
(getCanonicalDecl is cheap now, so we can just use it here.)
llvm-svn: 251898
|
| |
|
|
|
|
|
|
|
|
|
| |
We referred to all declaration in definitions in our diagnostic messages
which is can be inaccurate. Instead, classify the declaration and emit
an appropriate diagnostic for the new declaration and an appropriate
note pointing to the old one.
This fixes PR24116.
llvm-svn: 242190
|
| |
|
|
|
|
|
|
|
| |
The conventional form is '<action> to silence this warning'.
Also call the diagnostic an 'issue' rather than a 'message' because the latter
term is more widely used with reference to message expressions.
llvm-svn: 209052
|
| |
|
|
|
|
|
|
|
| |
a template variable].
A template declaration of a template name can be null in case we have a dependent name or a set of function templates.
Hence use dyn_cast_or_null instead of dyn_cast. Also improve the diagnostic emitted in this case.
llvm-svn: 208313
|
| |
|
|
|
|
| |
initializer with the variable in order to determine the type.
llvm-svn: 204015
|
| |
|
|
|
|
| |
'template<>' on a variable template explicit specialization.
llvm-svn: 200099
|
| |
|
|
|
|
| |
lookup when declaring a variable template specialization.
llvm-svn: 199438
|
| |
|
|
|
|
| |
nested-name-specifier.
llvm-svn: 196335
|
| |
|
|
|
|
| |
simple-template-ids (eg, 'operator+<int>') in weird places.
llvm-svn: 196333
|
| |
|
|
|
|
| |
something, for variable templates.
llvm-svn: 191278
|
| |
|
|
|
|
| |
argument list, but could be instantiated with argument list of <>.
llvm-svn: 190913
|
| |
|
|
| |
llvm-svn: 188974
|
| |
|
|
|
|
| |
template" instead of "static data member" when appropriate
llvm-svn: 188409
|
| |
|
|
|
|
| |
variable
llvm-svn: 188350
|
| |
|
|
|
|
| |
cases...
llvm-svn: 188249
|
|
|
fully supported, up to some limitations documented as FIXMEs or TODO. Static data member templates work very partially. Static data member templates of class templates need particular attention...
llvm-svn: 187762
|