| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
| |
considered to be a part of the translation unit unless they're named
in a way that brings them into existence.
llvm-svn: 98729
|
| |
|
|
|
|
| |
source file has been changed. Handle that failure more gracefully.
llvm-svn: 98727
|
| |
|
|
| |
llvm-svn: 98710
|
| |
|
|
|
|
| |
Fixes the crash-on-invalid in PR6629.
llvm-svn: 98698
|
| |
|
|
|
|
|
| |
returning objc objects. There will be a corresponding objective-c++
patch soon.
llvm-svn: 98696
|
| |
|
|
|
|
| |
literal. Fixes radar 7760213.
llvm-svn: 98693
|
| |
|
|
|
|
| |
recovery for those that need it.
llvm-svn: 98689
|
| |
|
|
| |
llvm-svn: 98684
|
| |
|
|
|
|
| |
that occur in constructors (on the unwind path).
llvm-svn: 98681
|
| |
|
|
|
|
| |
const char*.
llvm-svn: 98630
|
| |
|
|
|
|
| |
constructors from implicitly-defined members.
llvm-svn: 98614
|
| |
|
|
|
|
| |
destructor definitions. Remove some code duplication.
llvm-svn: 98611
|
| |
|
|
|
|
| |
required when emitting a destructor definition.
llvm-svn: 98609
|
| |
|
|
|
|
| |
and start simplifying the interfaces in SourceManager that can fail.
llvm-svn: 98594
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
SourceManager's getBuffer() (and similar) operations. This abstract
can be used to force callers to cope with errors in getBuffer(), such
as missing files and changed files. Fix a bunch of callers to use the
new interface.
Add some very basic checks for file consistency (file size,
modification time) into ContentCache::getBuffer(), although these
checks don't help much until we've updated the main callers (e.g.,
SourceManager::getSpelling()).
llvm-svn: 98585
|
| |
|
|
| |
llvm-svn: 98570
|
| |
|
|
|
|
|
| |
a property has the same name as the ivar it wraps then the old logic
wouldn't find the previous property declaration.
llvm-svn: 98559
|
| |
|
|
|
|
| |
considering valid objc pointer converions.
llvm-svn: 98557
|
| |
|
|
|
|
|
| |
comparing DeclContext pointers, to avoid having to remember to call
getPrimaryContext() everywhere. This is the last part PR6594.
llvm-svn: 98546
|
| |
|
|
|
|
|
|
|
|
|
| |
parameter hides a namespace-scope declararion with the same name in an
out-of-line definition of a template. The lookup requires a strange
interleaving of lexical and semantic scopes (go C++), which I have not
yet handled in the typo correction/code completion path.
Fixes PR6594.
llvm-svn: 98544
|
| |
|
|
| |
llvm-svn: 98541
|
| |
|
|
|
|
|
|
|
|
|
| |
on unqualified declarations.
Patch by Enea Zaffanella! Minimal adjustments: allocate the ExtInfo nodes
with the ASTContext and delete them during Destroy(). I audited a bunch of
Destroy methods at the same time, to ensure that the correct teardown was
being done.
llvm-svn: 98540
|
| |
|
|
|
|
| |
destructors.
llvm-svn: 98440
|
| |
|
|
| |
llvm-svn: 98436
|
| |
|
|
|
| |
Tested: make CPPFLAGS=-m64 CXXFLAGS=-m64 -j8 && (cd tools/clang;make test)
llvm-svn: 98399
|
| |
|
|
| |
llvm-svn: 98397
|
| |
|
|
| |
llvm-svn: 98375
|
| |
|
|
|
|
|
|
| |
whether it inherited one from a previous declaration.
Patch by Enea Zaffanella!
llvm-svn: 98362
|
| |
|
|
|
|
|
|
| |
voids in sub-expressions. Patch by Mike M!
Fixes PR4806.
llvm-svn: 98335
|
| |
|
|
|
|
| |
the handling of class extensions from other cases.
llvm-svn: 98326
|
| |
|
|
|
|
| |
contexts.
llvm-svn: 98321
|
| |
|
|
| |
llvm-svn: 98320
|
| |
|
|
|
|
| |
so we can clearly see the parser entry points.
llvm-svn: 98319
|
| |
|
|
| |
llvm-svn: 98318
|
| |
|
|
|
|
| |
a separate file.
llvm-svn: 98317
|
| |
|
|
|
|
|
|
|
|
|
|
| |
the @implementation (instead of the @interface) and actually add
the ivar to the DeclContext (which we weren't doing before).
This allows us to simplify ASTContext::CollectNonClassIvars() by
removing ASTContext::CollectProtocolSynthesizedIvars(). Now all
ivars can be found by either inspecting the ObjCInterfaceDecl and
its companion ObjCImplementationDecl.
llvm-svn: 98280
|
| |
|
|
|
|
| |
Patch by mikem!
llvm-svn: 98279
|
| |
|
|
| |
llvm-svn: 98275
|
| |
|
|
|
|
| |
there's a good equivalent that's actually true, unfortunately.
llvm-svn: 98253
|
| |
|
|
|
|
|
|
|
|
|
| |
instantiation. Based on a patch by Enea Zaffanella! I found a way to
reduce some of the redundancy between TreeTransform's "standard"
FunctionProtoType transformation and TemplateInstantiator's override,
and I killed off the old SubstFunctionType by adding type source info
for the last cases where we were creating FunctionDecls without TSI
(at least that get passed through template instantiation).
llvm-svn: 98252
|
| |
|
|
|
|
|
|
|
| |
I'm expecting this portion of the AST to grow and change, and I'd like to
be able to do that with minimal recompilation. If this proves unnecessary
when access control is fully-implemented, I'll fold the classes back into
DeclCXX.h.
llvm-svn: 98249
|
| |
|
|
| |
llvm-svn: 98135
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
injected class name of a class template or class template partial specialization.
This is a non-canonical type; the canonical type is still a template
specialization type. This becomes the TypeForDecl of the pattern declaration,
which cleans up some amount of code (and complicates some other parts, but
whatever).
Fixes PR6326 and probably a few others, primarily by re-establishing a few
invariants about TypeLoc sizes.
llvm-svn: 98134
|
| |
|
|
|
|
| |
This fixes PR6474.
llvm-svn: 98123
|
| |
|
|
|
|
| |
of the class name.
llvm-svn: 97943
|
| |
|
|
|
|
|
|
|
|
| |
Objective-C method declaration, e.g., for
- (Foo *)myMethod;
we now have TypeSourceInfo for the Foo*.
llvm-svn: 97942
|
| |
|
|
| |
llvm-svn: 97941
|
| |
|
|
|
|
| |
jump-diagnostics handling for variables without initializers
llvm-svn: 97929
|
| |
|
|
|
|
|
|
|
| |
uninitialized. This seems not to be the case in C++0x, where we still
call the (trivial) default constructor for a POD class
(!). Previously, we had implemented only the C++0x rules; now we
implement both. Fixes PR6536.
llvm-svn: 97928
|
| |
|
|
|
|
|
|
|
| |
incomplete type to warnings; GCC (and EDG in GCC compatibility mode)
permit such handles. Fixes PR6527.
(For real this time)
llvm-svn: 97927
|