| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
declare nonmember or static member functions.
llvm-svn: 108018
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
spell-checking. By default, spell-checking is enabled for Clang
(obviously) but disabled in CIndex for performance reasons.
llvm-svn: 107992
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
a template, be sure to include the template arguments from the
injected-class-name. Fixes PR7587.
llvm-svn: 107895
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
suppressing copies of objects with trivial copy constructors.
llvm-svn: 107857
|
| |
|
|
|
|
| |
breaking bootstrap on Linux.
llvm-svn: 107837
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
of getBody() when we are just checking the existence of a body, to avoid de-serialization of the body from PCH.
Makes de-serialization of the function body even more "lazier".
llvm-svn: 107768
|
| |
|
|
|
|
|
|
| |
people seem to write when they want a deterministic trap.
Suggest instead that they use a volatile pointer or
__builtin_trap.
llvm-svn: 107756
|
| |
|
|
|
|
| |
AST during the instantiation. Fixes PR7417!
llvm-svn: 107690
|
| |
|
|
|
|
| |
template specialization, from Peter Collingbourne.
llvm-svn: 107682
|
| |
|
|
|
|
|
|
| |
declarations when implicitly declaring the default constructor, copy
constructor, destructor, and copy-assignment operators of a
class. Argiris fixed the underlying problem in r107596.
llvm-svn: 107681
|
| |
|
|
| |
llvm-svn: 107626
|
| |
|
|
| |
llvm-svn: 107624
|
| |
|
|
|
|
|
|
|
|
| |
by PCHReader.
Currently, adding it to visible decls of a PCH'ed translation unit has no effect because
adding visible decls before deserialization has no effect (the decls won't be visible).
This will be fixed in a future commit; then it will force deserialization of visible decls, so avoid pointlessly installing it.
llvm-svn: 107595
|
| |
|
|
| |
llvm-svn: 107573
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
declarations for implicit default constructors, copy constructors,
copy assignment operators, and destructors. On a "simple" translation
unit that includes a bunch of C++ standard library headers, we
generate relatively few of these implicit declarations now:
4/159 implicit default constructors created
18/236 implicit copy constructors created
70/241 implicit copy assignment operators created
0/173 implicit destructors created
And, on this translation unit, this optimization doesn't really
provide any benefit. I'll do some more performance measurements soon,
but this completes the implementation work for <rdar://problem/8151045>.
llvm-svn: 107551
|
| |
|
|
| |
llvm-svn: 107543
|
| |
|
|
|
|
| |
constructor-name lookup.
llvm-svn: 107536
|
| |
|
|
| |
llvm-svn: 107521
|
| |
|
|
| |
llvm-svn: 107510
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
allows Sema some limited access to the current scope, which we only
use in one way: when Sema is performing some kind of declaration that
is not directly driven by the parser (e.g., due to template
instantiatio or lazy declaration of a member), we can find the Scope
associated with a DeclContext, if that DeclContext is still in the
process of being parsed.
Use this to make the implicit declaration of special member functions
in a C++ class more "scope-less", rather than using the NULL Scope hack.
llvm-svn: 107491
|
| |
|
|
|
|
| |
calls use that routine
llvm-svn: 107444
|
| |
|
|
| |
llvm-svn: 107437
|
| |
|
|
|
|
| |
routine; no functionality change.
llvm-svn: 107434
|
| |
|
|
| |
llvm-svn: 107429
|
| |
|
|
|
|
| |
method. No functionality change.
llvm-svn: 107415
|
| |
|
|
|
|
|
| |
and multi-dimensional array fields. Fixes several bugs found by
inspection.
llvm-svn: 107411
|
| |
|
|
|
|
|
| |
separate function. Aside from making the loops infinitely faster, no
functionality change.
llvm-svn: 107407
|
| |
|
|
|
|
| |
copy-assignment operator.
llvm-svn: 107406
|
| |
|
|
|
|
| |
into a separate routine. No functionality change.
llvm-svn: 107402
|
| |
|
|
| |
llvm-svn: 107398
|
| |
|
|
|
|
| |
CXXRecordDecl::getDestructor(); no functionality change.
llvm-svn: 107394
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
aren't dropping all exception specifications on destructors, the
exception specifications on implicitly-declared destructors were
detected as being wrong (which they were).
Introduce logic to provide a proper exception-specification for
implicitly-declared destructors. This also fixes PR6972.
Note that the other implicitly-declared special member functions also
need to get exception-specifications. I'll deal with that in a
subsequent commit.
llvm-svn: 107385
|
| |
|
|
|
|
| |
don't allow two user-defined conversions. Fixes PR6595 (again).
llvm-svn: 107379
|
| |
|
|
| |
llvm-svn: 107378
|
| |
|
|
|
|
| |
exception specification. Fixes PR7526.
llvm-svn: 107374
|
| |
|
|
|
|
| |
pointer" diagnostic to handle references, too.
llvm-svn: 107372
|