| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
templates and conversion function templates.
llvm-svn: 103349
|
| |
|
|
|
|
|
|
|
|
|
| |
specific message that includes the template arguments, e.g.,
test/SemaTemplate/overload-candidates.cpp:27:20: note: candidate template
ignored: substitution failure [with T = int *]
typename T::type get_type(const T&); // expected-note{{candidate ...
^
llvm-svn: 103348
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
failed because the explicitly-specified template arguments did not
match its template parameters, e.g.,
test/SemaTemplate/overload-candidates.cpp:18:8: note: candidate
template
ignored: invalid explicitly-specified argument for template
parameter 'I'
void get(const T&);
^
test/SemaTemplate/overload-candidates.cpp:20:8: note: candidate
template
ignored: invalid explicitly-specified argument for 1st template
parameter
void get(const T&);
^
llvm-svn: 103344
|
| |
|
|
|
|
| |
this issue.
llvm-svn: 103343
|
| |
|
|
|
|
| |
functionality change.
llvm-svn: 103342
|
| |
|
|
|
|
|
| |
many/too few arguments, use the same diagnostic we use for arity
mismatches in non-templates (but note that it's a function template).
llvm-svn: 103341
|
| |
|
|
|
|
|
|
|
|
|
|
| |
conflicting deduced template argument values, give a more specific
reason along with those values, e.g.,
test/SemaTemplate/overload-candidates.cpp:4:10: note: candidate template
ignored: deduced conflicting types for parameter 'T' ('int' vs. 'long')
const T& min(const T&, const T&);
^
llvm-svn: 103339
|
| |
|
|
| |
llvm-svn: 103337
|
| |
|
|
| |
llvm-svn: 103332
|
| |
|
|
|
|
|
| |
mark any declarations we see inside of that type as
"referenced". Fixes PR7079.
llvm-svn: 103323
|
| |
|
|
|
|
|
|
|
| |
variable.
A recent change to tightly verify debug info prepared by FE caught this.
This fixes unittest build.
llvm-svn: 103320
|
| |
|
|
|
|
|
|
| |
walk an entire AST, including all of the types, declarations,
statements, and expressions, and allowing one to easily override the
behavior of the walk at any particular node kind.
llvm-svn: 103308
|
| |
|
|
|
|
|
|
|
|
|
| |
return floats
but whose operand isn't a float: specifically, __real__ and __imag__. Instead
of filtering these out, just implement them.
Fixes <rdar://problem/7958272>.
llvm-svn: 103307
|
| |
|
|
|
|
| |
Andrew Sutton!
llvm-svn: 103301
|
| |
|
|
| |
llvm-svn: 103298
|
| |
|
|
|
|
| |
Eli Friedman.
llvm-svn: 103297
|
| |
|
|
|
|
| |
and return a bool.
llvm-svn: 103296
|
| |
|
|
| |
llvm-svn: 103294
|
| |
|
|
|
|
|
|
| |
whether a method
is static, and mangling in the qualifers of the method.
llvm-svn: 103289
|
| |
|
|
|
|
|
| |
code into a MoveUpIncludeHierarchy helper, and use the helper to
fix a case involving macros which regressed from my recent patch.
llvm-svn: 103288
|
| |
|
|
|
|
| |
NamedDecl::printName().
llvm-svn: 103285
|
| |
|
|
|
|
| |
already using a raw_ostream.
llvm-svn: 103284
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ensure that we complete the type when we need to look at constructors
during reference binding.
When determining whether the two types involved in reference binding
are reference-compatible, reference-related, etc., do not complete the
type of the reference itself because it is not necessary to determine
well-formedness of the program. Complete the type that we are binding
to, since that can affect whether we know about a derived-to-base
conversion.
Re-fixes PR7080.
llvm-svn: 103283
|
| |
|
|
| |
llvm-svn: 103280
|
| |
|
|
|
|
| |
a property of a c++ class object (radar 7957369).
llvm-svn: 103279
|
| |
|
|
| |
llvm-svn: 103273
|
| |
|
|
| |
llvm-svn: 103268
|
| |
|
|
| |
llvm-svn: 103260
|
| |
|
|
| |
llvm-svn: 103259
|
| |
|
|
| |
llvm-svn: 103258
|
| |
|
|
|
|
| |
variables with a comparison of a function pointer with 0.
llvm-svn: 103253
|
| |
|
|
| |
llvm-svn: 103252
|
| |
|
|
| |
llvm-svn: 103250
|
| |
|
|
|
|
| |
I'm on a roll.
llvm-svn: 103249
|
| |
|
|
| |
llvm-svn: 103248
|
| |
|
|
| |
llvm-svn: 103247
|
| |
|
|
|
|
|
|
|
|
|
| |
to be algorithmically faster and avoid an std::map. This routine
basically boils down to finding the nearest common ancestor in a
tree, and we (implicitly) have information about nesting depth,
use it!
This wraps up rdar://7948633 - SourceManager::isBeforeInTranslationUnit has poor performance
llvm-svn: 103239
|
| |
|
|
|
|
| |
the right type. It turns out that the code was already doing this.
llvm-svn: 103238
|
| |
|
|
|
|
| |
like a good idea at the time.
llvm-svn: 103237
|
| |
|
|
| |
llvm-svn: 103236
|
| |
|
|
|
|
|
|
| |
method to be correct. Right now it correctly computes the cache, then
goes ahead and computes the result the hard way, then asserts that they
match. Next I'll actually turn it on.
llvm-svn: 103231
|
| |
|
|
| |
llvm-svn: 103225
|
| |
|
|
| |
llvm-svn: 103224
|
| |
|
|
| |
llvm-svn: 103223
|
| |
|
|
| |
llvm-svn: 103222
|
| |
|
|
|
|
| |
template arguments.
llvm-svn: 103221
|
| |
|
|
|
|
|
|
|
|
|
|
| |
are reference-compatible, reference-related, etc., do not complete the
type of the reference itself because it is not necessary to determine
well-formedness of the program. Complete the type that we are binding
to, since that can affect whether we know about a derived-to-base
conversion.
Fixes PR7080.
llvm-svn: 103220
|
| |
|
|
|
|
| |
casts, but still require the (casted) type to be a pointer. Fixes PR5685.
llvm-svn: 103216
|
| |
|
|
| |
llvm-svn: 103214
|
| |
|
|
|
|
|
|
| |
information in USRs
for anonymous symbols.
llvm-svn: 103212
|