| Commit message (Collapse) | Author | Age | Files | Lines | 
| ... |  | 
| | 
| 
| 
|  | 
llvm-svn: 77638
 | 
| | 
| 
| 
| 
| 
|  | 
statements.
llvm-svn: 77631
 | 
| | 
| 
| 
|  | 
llvm-svn: 77629
 | 
| | 
| 
| 
|  | 
llvm-svn: 77628
 | 
| | 
| 
| 
|  | 
llvm-svn: 77626
 | 
| | 
| 
| 
|  | 
llvm-svn: 77612
 | 
| | 
| 
| 
|  | 
llvm-svn: 77610
 | 
| | 
| 
| 
| 
| 
| 
|  | 
current instantiation when that current instantiation is a class
template partial specialization.
llvm-svn: 77609
 | 
| | 
| 
| 
|  | 
llvm-svn: 77608
 | 
| | 
| 
| 
|  | 
llvm-svn: 77607
 | 
| | 
| 
| 
| 
| 
|  | 
partial specializations.
llvm-svn: 77606
 | 
| | 
| 
| 
|  | 
llvm-svn: 77599
 | 
| | 
| 
| 
|  | 
llvm-svn: 77589
 | 
| | 
| 
| 
|  | 
llvm-svn: 77587
 | 
| | 
| 
| 
| 
| 
|  | 
Move all components creation code into AnalysisConsumer::DigestAnalyzerOptions().
llvm-svn: 77585
 | 
| | 
| 
| 
|  | 
llvm-svn: 77577
 | 
| | 
| 
| 
|  | 
llvm-svn: 77575
 | 
| | 
| 
| 
|  | 
llvm-svn: 77573
 | 
| | 
| 
| 
| 
| 
|  | 
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
 |