- Dec 22, 2009
-
-
Douglas Gregor authored
explicitly-specified template arguments are enough to determine the instantiation, and either template argument deduction fails or is not performed in that context, we can resolve the template-id down to a function template specialization (so sayeth C++0x [temp.arg.explicit]p3). Fixes PR5811. llvm-svn: 91852
-
- Dec 21, 2009
-
-
Douglas Gregor authored
not deduce an "overload" type. Such a deduction indicates a failure in semantic analysis (e.g., PR5811) that currently isn't caught until code-generation time. This assertions makes it clearer that this particular issue is a semantic-analysis problem, not a code-gen problem. llvm-svn: 91844
-
Douglas Gregor authored
recursing in CGDebugInfo::CreateTypeNode, teach CanonicalizeTypeForDebugInfo---now called UnwrapTypeForDebugInfo---to keep unwrapping the type until we hit something that can be represented by debug information. Thanks to Anders for pointing this out! llvm-svn: 91840
-
Douglas Gregor authored
ElaboratedType, QualifiedNameType, and SubstTemplateTypeParmType type nodes. Also, produce an "unsupported" diagnostic for C++0x type nodes and "typeof" nodes, rather than asserting nondescriptly. llvm-svn: 91837
-
Daniel Dunbar authored
object. llvm-svn: 91830
-
Fariborz Jahanian authored
as a g++ extension (fixes radar 7481987). llvm-svn: 91827
-
John McCall authored
support diagnostics and error recovery. llvm-svn: 91825
-
Zhongxing Xu authored
llvm-svn: 91818
-
Eli Friedman authored
Sema::getTypeName. "LookupNestedNameSpecifierName" isn't quite the right kind of lookup, though; it doesn't ignore namespaces. Someone more familiar with the lookup code should fix this properly. llvm-svn: 91809
-
Eli Friedman authored
llvm-svn: 91808
-
Chris Lattner authored
llvm-svn: 91807
-
Anders Carlsson authored
llvm-svn: 91806
-
Anders Carlsson authored
llvm-svn: 91805
-
Anders Carlsson authored
llvm-svn: 91804
-
Nuno Lopes authored
llvm-svn: 91803
-
Chris Lattner authored
llvm-svn: 91802
-
Chris Lattner authored
pull ':' eating out of ParseAsmOperandsOpt. llvm-svn: 91801
-
Chris Lattner authored
llvm-svn: 91800
-
- Dec 20, 2009
-
-
Anders Carlsson authored
Rework the way pointer types are handled by the RTTI builder. We now get the right linkage for indirect pointers to incomplete structs. llvm-svn: 91799
-
Eli Friedman authored
assignment. llvm-svn: 91798
-
Eli Friedman authored
llvm-svn: 91797
-
Douglas Gregor authored
Switch default-initialization of variables of class type (or array thereof) over to InitializationSequence. I could swear that this fixes a PR somewhere, but I couldn't figure out which one llvm-svn: 91796
-
Douglas Gregor authored
llvm-svn: 91795
-
Douglas Gregor authored
llvm-svn: 91794
-
John McCall authored
Because of the rules of base-class lookup* and the restrictions on typedefs, it was actually impossible for this to cause any problems more serious than the spurious acceptance of template <class T> class A : B<A> { ... }; instead of template <class T> class A : B<A<T> > { ... }; but I'm sure we can all agree that that is a very important restriction which is well worth making another Parser->Sema call for. (*) n.b. clang++ does not implement these rules correctly; we are not ignoring non-type names llvm-svn: 91792
-
John McCall authored
Clang reasonably adds all the base specifiers in one pass; this is now required for correctness to prevent lookup from going mad. But this has the advantage of establishing the correct context when looking up base specifiers, which will be important for access control. llvm-svn: 91791
-
- Dec 19, 2009
-
-
John McCall authored
quite right; I'll come back to it later. It does fix PR 5741. llvm-svn: 91789
-
Chris Lattner authored
to go from a decl to the doc comments for it. llvm-svn: 91785
-
Daniel Dunbar authored
llvm-svn: 91781
-
Daniel Dunbar authored
would have a higher respect for its own code. This is getting old, is this warning really adding value? llvm-svn: 91779
-
John McCall authored
llvm-svn: 91772
-
John McCall authored
the redeclaration problems in the [temp.explicit]p3 testcase worse, but I can live with that; they'll need to be fixed more holistically anyhow. llvm-svn: 91771
-
John McCall authored
instantiation, since we're not using a Scope object for that anyway. llvm-svn: 91770
-
John McCall authored
Magically fixes all the terrible lookup problems associated with not pushing a new scope. Resolves an ancient xfail and an LLVM misparse. llvm-svn: 91769
-
Eli Friedman authored
small bug fixes in SemaInit, switch over SemaDecl to use it more often, and change a bunch of diagnostics which are different with the new initialization code. llvm-svn: 91767
-
Douglas Gregor authored
is an lvalue. Fixes PR5787. llvm-svn: 91765
-
Anders Carlsson authored
llvm-svn: 91761
-
Eli Friedman authored
llvm-svn: 91758
-
Daniel Dunbar authored
ARM: Use front-end specific target features "soft-float" and "soft-float-abi" to communicate FP mode to target; __SOFTFP__ is set correctly now. llvm-svn: 91755
-
Daniel Dunbar authored
- In particular, it can claim features for itself instead of always passing them on to LLVM. - This allows using the target features as a generic mechanism for passing target specific options to the TargetInfo instance, which may need them for initializing preprocessor defines, etc. llvm-svn: 91753
-