- Oct 14, 2009
-
-
Douglas Gregor authored
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
-
Duncan Sands authored
Fix the clang build. llvm-svn: 84107
-
Sebastian Redl authored
Have the exception specification checkers take partial diagnostics. Use this to merge two diagnostics. llvm-svn: 84105
-
Sanjiv Gupta authored
from Var itself rather than the decl for DebugInfo metadata. llvm-svn: 84102
-
Sebastian Redl authored
llvm-svn: 84101
-
Chris Lattner authored
length of comment tokens. Patch by Abramo Bagnara! llvm-svn: 84100
-
Sebastian Redl authored
Use partial diagnostics properly in call to RequireCompleteType. Among other 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
-
Sebastian Redl authored
llvm-svn: 84098
-
Zhongxing Xu authored
llvm-svn: 84081
-
Chris Lattner authored
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
-
Chris Lattner authored
llvm-svn: 84075
-
Zhongxing Xu authored
llvm-svn: 84073
-
Zhongxing Xu authored
* Make all Base value the last argument. llvm-svn: 84071
-
Fariborz Jahanian authored
Removes a FIXME. llvm-svn: 84068
-
Ted Kremenek authored
'CVPixelBufferCreateWithPlanarBytes()' and 'CVPixelBufferCreateWithBytes' (Core Video API) can indirectly release a pixel buffer object via a callback. This fixes <rdar://problem/7283567>. llvm-svn: 84064
-
Douglas Gregor authored
llvm-svn: 84058
-
Douglas Gregor authored
are never copy constructors or copy assignment operators. llvm-svn: 84057
-
Douglas Gregor authored
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
-
Edward O'Callaghan authored
llvm-svn: 84051
-
Devang Patel authored
llvm-svn: 84050
-
Anders Carlsson authored
llvm-svn: 84048
-
Ted Kremenek authored
the data argument) should not be tracked further until we support full IPA. (fixes <rdar://problem/7299394>) llvm-svn: 84047
-
Mike Stump authored
covariant thunks. WIP. llvm-svn: 84046
-
Anders Carlsson authored
llvm-svn: 84043
-
Anders Carlsson authored
Check the return type of operator[]() and fix a thinko that lead to a crash in SemaCXX/overloaded-operator.cpp. llvm-svn: 84041
-
Chris Lattner authored
llvm-svn: 84039
-
- Oct 13, 2009
-
-
Anders Carlsson authored
llvm-svn: 84034
-
Mike Stump authored
llvm-svn: 84031
-
Anders Carlsson authored
llvm-svn: 84030
-
Douglas Gregor authored
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
-
Anders Carlsson authored
Pass the right SourceLocation to Actions.ActOnOverloadedOperatorReferenceExpr and Actions.ActOnConversionOperatorReferenceExpr. Update incomplete-call.cpp test. llvm-svn: 84026
-
John Thompson authored
llvm-svn: 84007
-
Anders Carlsson authored
llvm-svn: 83986
-
Mike Stump authored
llvm-svn: 83981
-
Douglas Gregor authored
specialization. This completes C++ [temp.expl.spec]! llvm-svn: 83980
-
Devang Patel authored
llvm-svn: 83979
-
Devang Patel authored
Let replaceAllUsesWith() adjust VHs even though there are no uses. llvm-svn: 83978
-
Edward O'Callaghan authored
-funit-at-a-time is the default however some current makefiles pass -fno-unit-at-a-time which is ignored by GCC, we should warn about this not error out. llvm-svn: 83976
-
Douglas Gregor authored
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
-
Douglas Gregor authored
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
-