| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
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
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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: 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: 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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
a template, be sure to include the template arguments from the
injected-class-name. Fixes PR7587.
llvm-svn: 107895
|
| |
|
|
|
|
|
|
|
| |
ReadDeclRecord when initializing.
ReadDeclRecord would hit assertion if the translation unit declaration was already loaded during
IdentifierInfo initialization.
llvm-svn: 107885
|
| |
|
|
| |
llvm-svn: 107884
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 107871
|
| |
|
|
|
|
|
|
| |
unknown attributes that we discard. Add a diagnostic group for unknown
attribute warnings to allow turning these off when we don't care. Also
consolidates the tests for this case.
llvm-svn: 107864
|
| |
|
|
|
|
| |
as well.
llvm-svn: 107858
|
| |
|
|
|
|
| |
suppressing copies of objects with trivial copy constructors.
llvm-svn: 107857
|
| |
|
|
|
|
|
|
|
|
|
| |
was not producing a memcpy with the right address
spaces because of two places in it doing casts of
the arguments to i8, one of which that didn't
preserve the address space.
There is also an optimizer bug here.
llvm-svn: 107842
|
| |
|
|
|
|
| |
breaking bootstrap on Linux.
llvm-svn: 107837
|
| |
|
|
| |
llvm-svn: 107836
|
| |
|
|
|
|
| |
is still in flux and unclear, and our interim workaround was broken. Fixes PR7467.
llvm-svn: 107835
|
| |
|
|
|
|
|
|
| |
typedefs won't have the same canonical declaration (since they are
distinct), so we need to check for this case specifically. Fixes
<rdar://problem/8018262>.
llvm-svn: 107833
|
| |
|
|
|
|
| |
newly-narrowed scope. No functionality change.
llvm-svn: 107828
|
| |
|
|
|
|
|
|
|
| |
CXXConstructExpr/CXXTemporaryObjectExpr/CXXNewExpr as
appropriate. Fixes PR7556, and provides a slide codegen improvement
when copy-initializing a POD class type from a value-initialized
temporary. Previously, we weren't eliding the copy.
llvm-svn: 107827
|
| |
|
|
| |
llvm-svn: 107824
|
| |
|
|
|
|
| |
BumpPtrAllocator
llvm-svn: 107790
|
| |
|
|
|
|
| |
from PR7583
llvm-svn: 107788
|
| |
|
|
| |
llvm-svn: 107784
|
| |
|
|
|
|
|
|
| |
in recursive loading and the
declarations are fully initialized.
llvm-svn: 107783
|