| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
AnalysisContext.
llvm-svn: 77563
|
|
|
|
|
|
|
|
|
|
| |
ever trigger). Add an "unsupported" case that triggers for C++ code.
It would be nice if someone would implement this properly... it
shouldn't be too hard, but I haven't looked closely at the relevant
code.
llvm-svn: 77562
|
|
|
|
| |
llvm-svn: 77560
|
|
|
|
|
|
|
|
| |
that we would silently do bad things with virtual bases in the layout
code, so, we just turn them off. When people do better things with
them, we can turn them back on.
llvm-svn: 77556
|
|
|
|
| |
llvm-svn: 77555
|
|
|
|
|
|
| |
in current class.
llvm-svn: 77554
|
|
|
|
|
|
|
| |
-Accept an ObjC method and find all message expressions that this method may respond to.
-Accept an ObjC message expression and find all methods that may respond to it.
llvm-svn: 77551
|
|
|
|
| |
llvm-svn: 77548
|
|
|
|
| |
llvm-svn: 77547
|
|
|
|
|
|
| |
definition of a tag, since tags rarely have more than one or two declarations
llvm-svn: 77546
|
|
|
|
|
|
| |
through the IndexProvider.
llvm-svn: 77543
|
|
|
|
|
|
|
|
| |
message exprs,
inside a particular ASTContext.
llvm-svn: 77541
|
|
|
|
| |
llvm-svn: 77540
|
|
|
|
| |
llvm-svn: 77539
|
|
|
|
|
|
| |
GlobalSelector is an ASTContext-independent way to refer to Objective C selectors.
llvm-svn: 77538
|
|
|
|
| |
llvm-svn: 77537
|
|
|
|
|
|
|
|
|
|
| |
like finding
references of a declaration across translation units.
-Modify the index-test tool to use it.
llvm-svn: 77536
|
|
|
|
|
|
|
| |
TULocation is like ASTLocation but also contains the TranslationUnit* that
the ASTLocation originated from.
llvm-svn: 77535
|
|
|
|
|
|
| |
decls originated from.
llvm-svn: 77534
|
|
|
|
| |
llvm-svn: 77532
|
|
|
|
|
|
| |
of the iterator of the Indexer class.
llvm-svn: 77528
|
|
|
|
| |
llvm-svn: 77527
|
|
|
|
|
|
|
| |
Reinforces that they shouldn't be null and it's a bit more natural when
they are passed as stack objects.
llvm-svn: 77526
|
|
|
|
| |
llvm-svn: 77525
|
|
|
|
|
|
| |
-Introduce Indexer as an IndexProvider implementation.
llvm-svn: 77524
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Allow the Index library (and any other interested client) to walk
the set of declarations for a given tag (enum, union, class,
whatever). At the moment, this information is not readily available.
2) Reduce our dependence on TagDecl::TypeForDecl being mapped down
to a TagType (for which getDecl() will return the tag definition, if
one exists). This property won't exist for class template partial
specializations.
3) Make the canonical declaration of a TagDecl actually canonical,
e.g., so that it does not change when the tag is defined.
llvm-svn: 77523
|
|
|
|
| |
llvm-svn: 77518
|
|
|
|
| |
llvm-svn: 77514
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Type::getAsReferenceType() -> Type::getAs<ReferenceType>()
Type::getAsRecordType() -> Type::getAs<RecordType>()
Type::getAsPointerType() -> Type::getAs<PointerType>()
Type::getAsBlockPointerType() -> Type::getAs<BlockPointerType>()
Type::getAsLValueReferenceType() -> Type::getAs<LValueReferenceType>()
Type::getAsRValueReferenceType() -> Type::getAs<RValueReferenceType>()
Type::getAsMemberPointerType() -> Type::getAs<MemberPointerType>()
Type::getAsReferenceType() -> Type::getAs<ReferenceType>()
Type::getAsTagType() -> Type::getAs<TagType>()
And remove Type::getAsReferenceType(), etc.
This change is similar to one I made a couple weeks ago, but that was partly
reverted pending some additional design discussion. With Doug's pending smart
pointer changes for Types, it seemed natural to take this approach.
llvm-svn: 77510
|
|
|
|
|
|
|
| |
OldCastRegion used), and the associated command line option
'-analyzer-store=old-basic-cast'.
llvm-svn: 77509
|
|
|
|
|
|
| |
performace sake. Also added a test case.
llvm-svn: 77502
|
|
|
|
|
|
| |
with dependent types. Fixes PR4621 and PR4627.
llvm-svn: 77498
|
|
|
|
|
|
| |
class.
llvm-svn: 77497
|
|
|
|
| |
llvm-svn: 77492
|
|
|
|
|
|
| |
table as it has its own place now.
llvm-svn: 77491
|
|
|
|
|
|
|
| |
excpression, if needed, and remove some ir-gen code
now unnencessary.
llvm-svn: 77490
|
|
|
|
|
|
|
|
|
| |
A template name can refer to a set of overloaded function
templates. Model this in TemplateName, which can now refer to an
OverloadedFunctionDecl that contains function templates. This removes
an unspeakable hack in Sema::isTemplateName.
llvm-svn: 77488
|
|
|
|
|
|
| |
we don't care about ElementRegions layered on top of a base region.
llvm-svn: 77484
|
|
|
|
|
|
|
|
|
|
| |
in StoreManager to RegionStoreManager, and create a special, highly reduced
version in BasicStoreManager.
These changes are in preparation for future RegionStore-specific changes to
InvalidateRegion.
llvm-svn: 77483
|
|
|
|
|
|
| |
index 0. This will be used for refinements to InvalidateRegion and CastRegion.
llvm-svn: 77481
|
|
|
|
| |
llvm-svn: 77479
|
|
|
|
| |
llvm-svn: 77475
|
|
|
|
| |
llvm-svn: 77474
|
|
|
|
|
|
| |
this interface design, Chris please check.
llvm-svn: 77473
|
|
|
|
|
|
|
|
| |
functions, only return those overloaded functions that are actually
function templates. Note that there is still a glaring problem with
treating an OverloadedFunctionDecl as a TemplateName.
llvm-svn: 77472
|
|
|
|
|
|
| |
of function templates
llvm-svn: 77464
|
|
|
|
|
|
|
|
| |
template arguments, as in template specialization types. This permits
matching out-of-line definitions of members for class templates that
involve non-type template parameters.
llvm-svn: 77462
|
|
|
|
|
|
| |
for offset ir-gen.
llvm-svn: 77458
|
|
|
|
|
|
|
|
|
| |
('void *' and 'NSString *')".
Remove XFAIL from 'conditional-expr-4.m' test case (which would have caught this).
Also tweaked several aspects of the test to jive with the current type checking.
llvm-svn: 77453
|
|
|
|
| |
llvm-svn: 77452
|