| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
probably try and switch more of these if I can.
llvm-svn: 108085
|
| |
|
|
| |
llvm-svn: 108068
|
| |
|
|
| |
llvm-svn: 108067
|
| |
|
|
|
|
| |
that loads it, not by linking against them directly.
llvm-svn: 108055
|
| |
|
|
| |
llvm-svn: 108054
|
| |
|
|
| |
llvm-svn: 108051
|
| |
|
|
|
|
|
|
|
|
| |
default arguments to template parameters don't have a DeclContext when
instantiated, and so we can't detect that we're in an instantiation context as
opposed to the definition context. However, it fixes the more commonly-occuring
cases in TMP code that use devolve to this type of tautology after
substitution.
llvm-svn: 108044
|
| |
|
|
| |
llvm-svn: 108042
|
| |
|
|
| |
llvm-svn: 108031
|
| |
|
|
|
|
| |
constraints, per pr7338.
llvm-svn: 108028
|
| |
|
|
|
|
| |
be a dependent expression when its is built.
llvm-svn: 108026
|
| |
|
|
|
|
| |
block literal expression.
llvm-svn: 108019
|
| |
|
|
|
|
| |
declare nonmember or static member functions.
llvm-svn: 108018
|
| |
|
|
|
|
|
|
| |
avoid the
possibility of adding an unitialized one into the folding set.
llvm-svn: 108016
|
| |
|
|
| |
llvm-svn: 108015
|
| |
|
|
|
|
| |
PCHWriter emit a CHAINED_METADATA record instead of METADATA, and write a link to the previous file there.
llvm-svn: 108014
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for code like this:
template<template<typename T> class U> class V {};
The problem is that the DeclPrinter assumed all TemplateDecls
have a getTemplatedClass(), but template template params don't
(so we got a NULL dereference). The solution is to detect if
we're a template template param, and construct the template
class name ('class U') specially in this case.
OKed by dgregor and chandlerc
llvm-svn: 108007
|
| |
|
|
| |
llvm-svn: 108006
|
| |
|
|
|
|
|
| |
wrong, and we don't handle floating point value type arguments yet anyways.
Will add correct logic for both when I finish the patch.
llvm-svn: 108004
|
| |
|
|
|
|
|
|
|
| |
expected value type. This is necessary as the builtin is internally represented
as only operating on integral types.
Also, add a FIXME to add support for floating point value types.
llvm-svn: 108002
|
| |
|
|
| |
llvm-svn: 108000
|
| |
|
|
| |
llvm-svn: 107998
|
| |
|
|
|
|
| |
don't technically exist in the language. <rdar://problem/8085982>
llvm-svn: 107995
|
| |
|
|
| |
llvm-svn: 107994
|
| |
|
|
| |
llvm-svn: 107993
|
| |
|
|
|
|
|
| |
spell-checking. By default, spell-checking is enabled for Clang
(obviously) but disabled in CIndex for performance reasons.
llvm-svn: 107992
|
| |
|
|
| |
llvm-svn: 107985
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note that this is a move -- we pretend that we were really looking
at the unqualified typeloc all along -- rather than a recursion, so
we don't follow the normal CRTP plan of going through
getDerived().TraverseTypeLoc. If we did, we'd be traversing twice
for the same type (once as a QualifiedTypeLoc version of the type,
once as an UnqualifiedTypeLoc version of the type), which in effect
means we'd call VisitTypeLoc twice with the 'same' type. This
solves that problem, at the cost of never seeing the qualified
version of the type (unless the client subclasses
TraverseQualifiedTypeLoc themselves). It's not a perfect solution.
A perfect solution probably requires making QualifiedTypeLoc a
wrapper around TypeLoc -- like QualType is a wrapper around Type*
-- rather than being its own class in the type hierarchy.
Reviewed by wan.
llvm-svn: 107973
|
| |
|
|
| |
llvm-svn: 107956
|
| |
|
|
|
|
| |
what gcc does.
llvm-svn: 107953
|
| |
|
|
|
|
| |
the PCH writer if it is not set, preventing creation of chained PCH files. Since the reader is so far unused, effectively no functionality change.
llvm-svn: 107936
|
| |
|
|
|
|
| |
zero/nonzero sizes.
llvm-svn: 107935
|
| |
|
|
|
|
| |
declarations.
llvm-svn: 107933
|
| |
|
|
|
|
|
|
|
|
|
|
| |
selector of an Objective-C method declaration, e.g., given
- (int)first:(int)x second:(int)y;
this code completion point triggers at the location of "second". It
will provide completions that fill out the method declaration for any
known method, anywhere in the translation unit.
llvm-svn: 107929
|
| |
|
|
|
|
| |
declarations. Fixes PR7594.
llvm-svn: 107927
|
| |
|
|
| |
llvm-svn: 107915
|
| |
|
|
|
|
|
| |
created via T() where T is a class type. Reviewed by chandlerc and
csilvers.
llvm-svn: 107911
|
| |
|
|
|
|
|
| |
priority as other constants. And, if we're in a place where we prefer
a pointer type, consider "nil" and "NULL" to be close matches.
llvm-svn: 107910
|
| |
|
|
|
|
| |
either integer values or other pointers. Fixes <rdar://problem/8134521>.
llvm-svn: 107905
|
| |
|
|
|
|
| |
involving operator precedence.)
llvm-svn: 107902
|
| |
|
|
|
|
|
| |
Patch by Alexander Kabaev.
PR 7595.
llvm-svn: 107900
|
| |
|
|
| |
llvm-svn: 107897
|
| |
|
|
|
|
|
| |
a template, be sure to include the template arguments from the
injected-class-name. Fixes PR7587.
llvm-svn: 107895
|
| |
|
|
| |
llvm-svn: 107893
|
| |
|
|
|
|
|
|
|
| |
ReadDeclRecord when initializing.
ReadDeclRecord would hit assertion if the translation unit declaration was already loaded during
IdentifierInfo initialization.
llvm-svn: 107885
|
| |
|
|
| |
llvm-svn: 107884
|
| |
|
|
|
|
| |
ExtWarn to an Extension. Let the broken code propagate!
llvm-svn: 107875
|
| |
|
|
|
|
| |
surprised.
llvm-svn: 107874
|
| |
|
|
|
|
|
|
|
| |
invalid because some decls that the
calculation is using may still be initializing.
Thus, store the isDependent flag to PCH and restore directly to Type.
llvm-svn: 107873
|
| |
|
|
| |
llvm-svn: 107872
|