Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Diagnose unused expression results for all statements, just not compound ↵ | Anders Carlsson | 2009-07-30 | 2 | -5/+36 | |
| | | | | | | statements. llvm-svn: 77631 | |||||
* | Add casts to avoid a bunch of unused expr warnings. (They aren't reported ↵ | Anders Carlsson | 2009-07-30 | 3 | -3/+3 | |
| | | | | | | right now due to a bug that I intend to fix). Ted, please review. llvm-svn: 77630 | |||||
* | Canonicalize else spacing. | Mike Stump | 2009-07-30 | 10 | -70/+33 | |
| | | | | llvm-svn: 77629 | |||||
* | Factor code out into a DiagnoseUnusedExprResult function. | Anders Carlsson | 2009-07-30 | 2 | -12/+24 | |
| | | | | llvm-svn: 77628 | |||||
* | Note some other limitations. | Mike Stump | 2009-07-30 | 1 | -1/+9 | |
| | | | | llvm-svn: 77626 | |||||
* | Update based upon comments. Explain why we have an assert. | Mike Stump | 2009-07-30 | 1 | -2/+2 | |
| | | | | llvm-svn: 77612 | |||||
* | We'll also need a vtable pointer if we have virtual bases. | Mike Stump | 2009-07-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 77610 | |||||
* | What luck! Clang obtains support for refering to members of the | Douglas Gregor | 2009-07-30 | 2 | -1/+75 | |
| | | | | | | | current instantiation when that current instantiation is a class template partial specialization. llvm-svn: 77609 | |||||
* | Patch for future ir-gen for destructor calls. | Fariborz Jahanian | 2009-07-30 | 4 | -3/+50 | |
| | | | | llvm-svn: 77608 | |||||
* | Lexically order files. | Ted Kremenek | 2009-07-30 | 1 | -2/+2 | |
| | | | | llvm-svn: 77607 | |||||
* | Support out-of-line definitions of the members of class template | Douglas Gregor | 2009-07-30 | 8 | -18/+132 | |
| | | | | | | partial specializations. llvm-svn: 77606 | |||||
* | Initialize an otherwise-wild pointer. Fixes a crashy analyzer | Douglas Gregor | 2009-07-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 77599 | |||||
* | fix cmake build | Benjamin Kramer | 2009-07-30 | 1 | -0/+1 | |
| | | | | llvm-svn: 77589 | |||||
* | simple fixes. | Zhongxing Xu | 2009-07-30 | 1 | -4/+2 | |
| | | | | llvm-svn: 77587 | |||||
* | Make AnalysisManager into its own source file and a pure data management class. | Zhongxing Xu | 2009-07-30 | 3 | -169/+242 | |
| | | | | | | Move all components creation code into AnalysisConsumer::DigestAnalyzerOptions(). llvm-svn: 77585 | |||||
* | Update CMakeLists.txt | Daniel Dunbar | 2009-07-30 | 1 | -0/+1 | |
| | | | | llvm-svn: 77577 | |||||
* | Fix Selector <-> GlobalSelector conversion. | Argyrios Kyrtzidis | 2009-07-30 | 1 | -2/+3 | |
| | | | | llvm-svn: 77575 | |||||
* | PR3679 - handle #pragma weak | Ryan Flynn | 2009-07-30 | 6 | -12/+97 | |
| | | | | llvm-svn: 77573 | |||||
* | Add -fblocks. | Daniel Dunbar | 2009-07-30 | 3 | -6/+6 | |
| | | | | llvm-svn: 77571 | |||||
* | MultiTestRunner: Stop printing XFAILs on every run, this doesn't really have any | Daniel Dunbar | 2009-07-30 | 1 | -2/+1 | |
| | | | | | | value. llvm-svn: 77566 | |||||
* | This patch collects all analysis context data into a new class | Zhongxing Xu | 2009-07-30 | 3 | -31/+153 | |
| | | | | | | AnalysisContext. llvm-svn: 77563 | |||||
* | Remove bogus "unsupported" case for vectors (which shouldn't | Eli Friedman | 2009-07-30 | 1 | -2/+1 | |
| | | | | | | | | | | 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 | |||||
* | Fix type to be consistent with the rest of the code. | Mike Stump | 2009-07-30 | 2 | -2/+2 | |
| | | | | llvm-svn: 77560 | |||||
* | Add ability to layout the vtable pointer in trivial cases. I noticed | Mike Stump | 2009-07-30 | 4 | -8/+29 | |
| | | | | | | | | 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 | |||||
* | Fix gcc warning. | Eli Friedman | 2009-07-30 | 1 | -2/+2 | |
| | | | | llvm-svn: 77555 | |||||
* | ir-gen for nested non-virtual base member access | Fariborz Jahanian | 2009-07-30 | 2 | -5/+98 | |
| | | | | | | in current class. llvm-svn: 77554 | |||||
* | Add support for -Wno-long-long. | Eli Friedman | 2009-07-30 | 2 | -2/+3 | |
| | | | | llvm-svn: 77552 | |||||
* | Add support for ObjC message expressions, in the Analyzer: | Argyrios Kyrtzidis | 2009-07-30 | 8 | -9/+493 | |
| | | | | | | | -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 | |||||
* | Update CMake. | Argyrios Kyrtzidis | 2009-07-30 | 1 | -0/+5 | |
| | | | | llvm-svn: 77548 | |||||
* | Support ObjC methods as Entities. | Argyrios Kyrtzidis | 2009-07-29 | 4 | -34/+87 | |
| | | | | llvm-svn: 77547 | |||||
* | There's no point in going through the getAs<TagType> stuff to find the ↵ | Douglas Gregor | 2009-07-29 | 1 | -3/+0 | |
| | | | | | | definition of a tag, since tags rarely have more than one or two declarations llvm-svn: 77546 | |||||
* | Use a STL helper template 'pair_value_iterator', by both DeclReferenceMap ↵ | Argyrios Kyrtzidis | 2009-07-29 | 3 | -78/+68 | |
| | | | | | | and SelectorMap. llvm-svn: 77545 | |||||
* | Add ObjCMethodDecl::isThisDeclarationADefinition(). | Argyrios Kyrtzidis | 2009-07-29 | 1 | -0/+3 | |
| | | | | llvm-svn: 77544 | |||||
* | Index the selectors and provide the translation units that contain them | Argyrios Kyrtzidis | 2009-07-29 | 3 | -3/+49 | |
| | | | | | | through the IndexProvider. llvm-svn: 77543 | |||||
* | Add TranslationUnit::getSelectorMap(). | Argyrios Kyrtzidis | 2009-07-29 | 2 | -1/+8 | |
| | | | | llvm-svn: 77542 | |||||
* | Introduce SelectorMap whose purpose is to map selectors to objc methods and ↵ | Argyrios Kyrtzidis | 2009-07-29 | 2 | -0/+180 | |
| | | | | | | | | message exprs, inside a particular ASTContext. llvm-svn: 77541 | |||||
* | Find references inside blocks. | Argyrios Kyrtzidis | 2009-07-29 | 4 | -1/+20 | |
| | | | | llvm-svn: 77540 | |||||
* | Use helper class ASTVisitor to fully traverse an AST. | Argyrios Kyrtzidis | 2009-07-29 | 2 | -80/+120 | |
| | | | | llvm-svn: 77539 | |||||
* | Introduce the GlobalSelector class in the Indexing library. | Argyrios Kyrtzidis | 2009-07-29 | 4 | -0/+170 | |
| | | | | | | GlobalSelector is an ASTContext-independent way to refer to Objective C selectors. llvm-svn: 77538 | |||||
* | Use an IdentifierTable for names used for Entities. | Argyrios Kyrtzidis | 2009-07-29 | 3 | -16/+16 | |
| | | | | llvm-svn: 77537 | |||||
* | -Introduce the idx::Analyzer class used for getting indexing information, ↵ | Argyrios Kyrtzidis | 2009-07-29 | 3 | -53/+193 | |
| | | | | | | | | | | like finding references of a declaration across translation units. -Modify the index-test tool to use it. llvm-svn: 77536 | |||||
* | Introduce TULocation and TULocationHandler classes. | Argyrios Kyrtzidis | 2009-07-29 | 3 | -0/+26 | |
| | | | | | | | TULocation is like ASTLocation but also contains the TranslationUnit* that the ASTLocation originated from. llvm-svn: 77535 | |||||
* | Modify the Indexer class so that it can return the TranslationUnit that internal | Argyrios Kyrtzidis | 2009-07-29 | 3 | -3/+15 | |
| | | | | | | decls originated from. llvm-svn: 77534 | |||||
* | Add Entity::getInternalDecl() to be used only on Entities that refer to internal | Argyrios Kyrtzidis | 2009-07-29 | 1 | -0/+7 | |
| | | | | | | (in translation unit) declarations. llvm-svn: 77533 | |||||
* | Constify ASTLocation::print. | Argyrios Kyrtzidis | 2009-07-29 | 2 | -3/+3 | |
| | | | | llvm-svn: 77532 | |||||
* | Fix some comments. | Argyrios Kyrtzidis | 2009-07-29 | 3 | -4/+3 | |
| | | | | llvm-svn: 77531 | |||||
* | Add getDeclReferenceMap() to the abstract interface of TranslationUnit class. | Argyrios Kyrtzidis | 2009-07-29 | 2 | -1/+5 | |
| | | | | llvm-svn: 77530 | |||||
* | Remove the TranslationUnit usage from clang-wpa.cpp since it's not really | Argyrios Kyrtzidis | 2009-07-29 | 1 | -16/+4 | |
| | | | | | | necessary. llvm-svn: 77529 | |||||
* | Introduce a helper template for the Handler classes and use it instead | Argyrios Kyrtzidis | 2009-07-29 | 4 | -39/+37 | |
| | | | | | | of the iterator of the Indexer class. llvm-svn: 77528 | |||||
* | Add an assert. | Argyrios Kyrtzidis | 2009-07-29 | 1 | -0/+1 | |
| | | | | llvm-svn: 77527 |