| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
llvm-svn: 84123
|
| |
|
|
|
|
|
|
| |
the virtual base so they can be reused properly. Don't reuse vcall
slots across a virtual boundary. WIP. I have a testcase, but there
are still things that need to be fixed before the testcase can go in.
llvm-svn: 84120
|
| |
|
|
|
|
|
|
| |
template, make sure to get the template that corresponds to *this*
declaration of the class template or specialization, rather than the
canonical specialization. Fixes PR5187.
llvm-svn: 84119
|
| |
|
|
|
|
| |
this is only used in darwin10, 64 bit ubuntu 9.10 and 64 bit openSUSE 11.1.
llvm-svn: 84115
|
| |
|
|
| |
llvm-svn: 84114
|
| |
|
|
|
|
|
|
| |
to a member operator template. We missed updating this call site when
adding support for function templates; bug exposed by a test for
PR5072.
llvm-svn: 84111
|
| |
|
|
|
|
| |
Fix the clang build.
llvm-svn: 84107
|
| |
|
|
|
|
| |
to merge two diagnostics.
llvm-svn: 84105
|
| |
|
|
|
|
|
|
| |
name
from Var itself rather than the decl for DebugInfo metadata.
llvm-svn: 84102
|
| |
|
|
| |
llvm-svn: 84101
|
| |
|
|
|
|
| |
length of comment tokens. Patch by Abramo Bagnara!
llvm-svn: 84100
|
| |
|
|
|
|
| |
things, this means we get a note on the declaration of the incomplete type when it is used in an exception specification.
llvm-svn: 84099
|
| |
|
|
| |
llvm-svn: 84098
|
| |
|
|
| |
llvm-svn: 84081
|
| |
|
|
| |
llvm-svn: 84078
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
1) -fwritable-string does affect the non-utf16 version of cfstrings
just not the utf16 ones.
2) utf16 strings should always be marked constant, as the __TEXT segment
is readonly.
3) The name of the global doesn't matter, remove it from TargetInfo.
4) Trust the asmprinter to drop cstrings into the right section, like llvmgcc does now.
This fixes rdar://7115750
llvm-svn: 84077
|
| |
|
|
| |
llvm-svn: 84075
|
| |
|
|
| |
llvm-svn: 84073
|
| |
|
|
|
|
| |
* Make all Base value the last argument.
llvm-svn: 84071
|
| |
|
|
| |
llvm-svn: 84070
|
| |
|
|
|
|
| |
Removes a FIXME.
llvm-svn: 84068
|
| |
|
|
|
|
|
|
|
|
| |
'CVPixelBufferCreateWithPlanarBytes()' and
'CVPixelBufferCreateWithBytes' (Core Video API) can indirectly release
a pixel buffer object via a callback.
This fixes <rdar://problem/7283567>.
llvm-svn: 84064
|
| |
|
|
| |
llvm-svn: 84058
|
| |
|
|
|
|
| |
are never copy constructors or copy assignment operators.
llvm-svn: 84057
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unknown type name, e.g.,
foo::bar x;
when "bar" does not refer to a type in "foo".
With this change, the parser now calls into the action to perform
diagnostics and can try to recover by substituting in an appropriate
type. For example, this allows us to easily diagnose some missing
"typename" specifiers, which we now do:
test/SemaCXX/unknown-type-name.cpp:29:1: error: missing 'typename'
prior to dependent type name 'A<T>::type'
A<T>::type A<T>::f() { return type(); }
^~~~~~~~~~
typename
Fixes PR3990.
llvm-svn: 84053
|
| |
|
|
| |
llvm-svn: 84051
|
| |
|
|
| |
llvm-svn: 84050
|
| |
|
|
| |
llvm-svn: 84048
|
| |
|
|
|
|
|
|
| |
the data argument) should not be tracked further until we support full IPA.
(fixes <rdar://problem/7299394>)
llvm-svn: 84047
|
| |
|
|
|
|
| |
covariant thunks. WIP.
llvm-svn: 84046
|
| |
|
|
| |
llvm-svn: 84043
|
| |
|
|
|
|
| |
in SemaCXX/overloaded-operator.cpp.
llvm-svn: 84041
|
| |
|
|
| |
llvm-svn: 84039
|
| |
|
|
| |
llvm-svn: 84034
|
| |
|
|
| |
llvm-svn: 84031
|
| |
|
|
| |
llvm-svn: 84030
|
| |
|
|
|
|
|
|
|
|
| |
what we found when we looked into <blah>", where <blah> is a
DeclContext*. We can now format DeclContext*'s in nice ways, e.g.,
"namespace N", "the global namespace", "'class Foo'".
This is part of PR3990, but we're not quite there yet.
llvm-svn: 84028
|
| |
|
|
|
|
| |
Actions.ActOnOverloadedOperatorReferenceExpr and Actions.ActOnConversionOperatorReferenceExpr. Update incomplete-call.cpp test.
llvm-svn: 84026
|
| |
|
|
|
|
| |
aren't rich enough to reproduce the source accurately.
llvm-svn: 84012
|
| |
|
|
| |
llvm-svn: 84007
|
| |
|
|
| |
llvm-svn: 84005
|
| |
|
|
| |
llvm-svn: 83993
|
| |
|
|
|
|
| |
DeclRefExpr. Fixes PR5177.
llvm-svn: 83986
|
| |
|
|
|
|
| |
OverrideMethod.
llvm-svn: 83981
|
| |
|
|
|
|
| |
specialization. This completes C++ [temp.expl.spec]!
llvm-svn: 83980
|
| |
|
|
| |
llvm-svn: 83979
|
| |
|
|
|
|
| |
Let replaceAllUsesWith() adjust VHs even though there are no uses.
llvm-svn: 83978
|
| |
|
|
|
|
| |
-fno-unit-at-a-time which is ignored by GCC, we should warn about this not error out.
llvm-svn: 83976
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
template as a specialization. For example, this occurs with:
template<typename T>
struct X {
template<typename U> struct Inner { /* ... */ };
};
template<> template<typename T>
struct X<int>::Inner {
T member;
};
We need to treat templates that are member specializations as special
in two contexts:
- When looking for a definition of a member template, we look
through the instantiation chain until we hit the primary template
*or a member specialization*. This allows us to distinguish
between the primary "Inner" definition and the X<int>::Inner
definition, above.
- When computing all of the levels of template arguments needed to
instantiate a member template, don't add template arguments
from contexts outside of the instantiation of a member
specialization, since the user has already manually substituted
those arguments.
Fix up the existing test for p18, which was actually wrong (but we
didn't diagnose it because of our poor handling of member
specializations of templates), and add a new test for member
specializations of templates.
llvm-svn: 83974
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
function templates.
This commit ensures that friend function templates are constructed as
FunctionTemplateDecls rather than partial FunctionDecls (as they
previously were). It then implements template instantiation for friend
function templates, injecting the friend function template only when
no previous declaration exists at the time of instantiation.
Oh, and make sure that explicit specialization declarations are not
friends.
llvm-svn: 83970
|