| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Use the "ASTLocation nomenclature" (instead of the ASTNode one) in ↵ | Argyrios Kyrtzidis | 2009-07-06 | 1 | -12/+12 | |
| | | | | | | | index-test.cpp. llvm-svn: 74863 | |||||
| * | Some changes to ASTLocation's methods | Argyrios Kyrtzidis | 2009-07-06 | 3 | -4/+11 | |
| | | | | | | | | | -Change hasStmt() to isStmt() -Add isDecl() -Add getSourceRange() llvm-svn: 74862 | |||||
| * | Add some comments to the ASTLocation class. | Argyrios Kyrtzidis | 2009-07-06 | 1 | -0/+6 | |
| | | | | | llvm-svn: 74861 | |||||
| * | Move the 'ResolveLocationInAST' function from the Frontend library to the ↵ | Argyrios Kyrtzidis | 2009-07-06 | 4 | -36/+39 | |
| | | | | | | | | | Index library. Also, cut down its comments; more comments will be added to ASTLocation. llvm-svn: 74860 | |||||
| * | Move ASTLocation and DeclReferenceMap from the AST library to the Index library. | Argyrios Kyrtzidis | 2009-07-06 | 7 | -14/+28 | |
| | | | | | llvm-svn: 74859 | |||||
| * | Rename 'ASTNode' -> 'ASTLocation'. | Argyrios Kyrtzidis | 2009-07-06 | 8 | -58/+58 | |
| | | | | | | | ASTLocation is a much better name for its intended purpose which to represent a "point" into the AST. llvm-svn: 74858 | |||||
| * | NewCastRegion: | Ted Kremenek | 2009-07-06 | 1 | -12/+10 | |
| | | | | | | | | - Have test for 'CodeTextRegion' dominate other region tests. - Use 'getAsRecordType' instead of isa<RecordType> llvm-svn: 74853 | |||||
| * | Fix loop so that 'continue' statements actually cause the loop to iterate. | Ted Kremenek | 2009-07-06 | 1 | -2/+1 | |
| | | | | | llvm-svn: 74852 | |||||
| * | Move the new 'CastRegion' implementation from RegionStoreManager to StoreManager | Ted Kremenek | 2009-07-06 | 3 | -86/+101 | |
| | | | | | | | | (its superclass). This will allow us to experiment with using the new CastRegion with BasicStoreManager, and gradually phase out the old implementation. llvm-svn: 74851 | |||||
| * | Fix a problem with false diagnostics when comparing distinct NULL pointer ↵ | Douglas Gregor | 2009-07-06 | 2 | -7/+20 | |
| | | | | | | | types, from David Majnemer llvm-svn: 74850 | |||||
| * | Update checker build. | Ted Kremenek | 2009-07-06 | 1 | -1/+1 | |
| | | | | | llvm-svn: 74849 | |||||
| * | Fix PR 4489, a crash in PCH loading that occurs when loading the name | Douglas Gregor | 2009-07-06 | 4 | -22/+129 | |
| | | | | | | | | | | | of a top-level declaration loads another top-level declaration of the same name whose type depends on the first declaration having been completed. This commit breaks the circular dependency by delaying loads of top-level declarations triggered by loading a name until we are no longer recursively loading types or declarations. llvm-svn: 74847 | |||||
| * | Fix <rdar://problem/7033733>. The CF_RETURNS_RETAINED attribute should work ↵ | Ted Kremenek | 2009-07-06 | 2 | -3/+23 | |
| | | | | | | | if the return type on an Objective-C method is a CF type reference, not just an Objective-C object reference. llvm-svn: 74841 | |||||
| * | Parsing fix for out-of-line constructors, from Piotr Rak | Douglas Gregor | 2009-07-06 | 2 | -2/+29 | |
| | | | | | llvm-svn: 74833 | |||||
| * | Fix out-of-source regression testing for makefiles | Douglas Gregor | 2009-07-06 | 1 | -1/+1 | |
| | | | | | llvm-svn: 74832 | |||||
| * | Keep track of the Expr used to describe the size of an array type, | Douglas Gregor | 2009-07-06 | 19 | -63/+382 | |
| | | | | | | | from Enea Zaffanella! llvm-svn: 74831 | |||||
| * | Fix bitfield promotion in the presence of explicit casts, from Abrama Bagnara. | Douglas Gregor | 2009-07-06 | 2 | -1/+11 | |
| | | | | | llvm-svn: 74830 | |||||
| * | Further cleanup of region invalidation code. No functionality change. | Zhongxing Xu | 2009-07-06 | 3 | -55/+58 | |
| | | | | | llvm-svn: 74816 | |||||
| * | AllocaRegion and SymbolicRegion are both boundable. | Zhongxing Xu | 2009-07-06 | 1 | -1/+5 | |
| | | | | | llvm-svn: 74815 | |||||
| * | Start to gradually move region invalidation code into store manager. | Zhongxing Xu | 2009-07-06 | 3 | -66/+62 | |
| | | | | | | | No functionality change. llvm-svn: 74812 | |||||
| * | Having tests that depend on previously created files is bad idea. Fix them ↵ | Argyrios Kyrtzidis | 2009-07-06 | 6 | -38/+37 | |
| | | | | | | | to be self-sufficient. llvm-svn: 74810 | |||||
| * | Fix for PR4502: add calculation of the integer conversion rank for | Eli Friedman | 2009-07-05 | 2 | -0/+7 | |
| | | | | | | | wchar_t. llvm-svn: 74808 | |||||
| * | More tweaks to types for OpenBSD. Patch by Jonathan Gray. | Eli Friedman | 2009-07-05 | 1 | -1/+14 | |
| | | | | | llvm-svn: 74805 | |||||
| * | Make use of the Index library through the index-test tool. | Argyrios Kyrtzidis | 2009-07-05 | 12 | -37/+229 | |
| | | | | | | | | | | 'index-test' is now able to provide additional info for a Decl, through multiple AST files: -Find declarations -Find definitions -Find references llvm-svn: 74803 | |||||
| * | Introduce the 'Index' library. | Argyrios Kyrtzidis | 2009-07-05 | 13 | -1/+573 | |
| | | | | | | | | | | Its purpose is to provide the basic infrastructure for cross-translation-unit analysis like indexing, refactoring, etc. Currently it is very "primitive" and with no type-names support. It can provide functionality like "show me all references of this function from these translation units". llvm-svn: 74802 | |||||
| * | Introduce the DeclReferenceMap class inside the AST library. | Argyrios Kyrtzidis | 2009-07-05 | 3 | -0/+214 | |
| | | | | | | | | | | DeclReferenceMap (similar to ParentMap) is a helper class for mapping Decls to the AST nodes that reference them. A client will initialize it by passing an ASTContext to its constructor and later use it to iterate over the references of a Decl. References are mapped and retrieved using the primary declaration (Decl::getPrimaryDecl()) of a particular Decl. llvm-svn: 74801 | |||||
| * | Introduce the virtual method Decl::getPrimaryDecl(). | Argyrios Kyrtzidis | 2009-07-05 | 3 | -0/+27 | |
| | | | | | | | | When a Decl subclass can have multiple re-declarations in the same declaration context (like FunctionDecl), getPrimaryDecl() will return a particular Decl that all of them will point to as the "primary" declaration. llvm-svn: 74800 | |||||
| * | Avoid re-checking the parameters of a function, when trying to resolve a ↵ | Argyrios Kyrtzidis | 2009-07-05 | 1 | -5/+12 | |
| | | | | | | | location. llvm-svn: 74799 | |||||
| * | Make use of ASTNode for return value of clang::ResolveLocationInAST() and in ↵ | Argyrios Kyrtzidis | 2009-07-05 | 3 | -24/+20 | |
| | | | | | | | the index-test tool. llvm-svn: 74798 | |||||
| * | Introduce ASTNode class into the AST library. | Argyrios Kyrtzidis | 2009-07-05 | 3 | -0/+157 | |
| | | | | | | | ASTNode is an immutable pair of a Decl and Stmt. If Stmt is not null, Decl should be its immediate parent. llvm-svn: 74797 | |||||
| * | Do an early check for function definition. | Argyrios Kyrtzidis | 2009-07-05 | 1 | -10/+12 | |
| | | | | | llvm-svn: 74796 | |||||
| * | Per PR4506, fix the type of size_t on OpenBSD. | Eli Friedman | 2009-07-05 | 1 | -1/+12 | |
| | | | | | llvm-svn: 74795 | |||||
| * | CompoundLiteralRegion is boundable when it is not in the file scope. | Zhongxing Xu | 2009-07-04 | 1 | -0/+2 | |
| | | | | | llvm-svn: 74788 | |||||
| * | Catch function redeclarations with incompatible exception specifications. | Sebastian Redl | 2009-07-04 | 5 | -1/+88 | |
| | | | | | llvm-svn: 74787 | |||||
| * | StringRegion is not boundable. | Zhongxing Xu | 2009-07-04 | 1 | -1/+3 | |
| | | | | | llvm-svn: 74786 | |||||
| * | This fixes the case where the wrong symbol is emitted leading to linking ↵ | Fariborz Jahanian | 2009-07-03 | 1 | -4/+9 | |
| | | | | | | | | | errors when you reference a class before defining it (GNU runtime). Patch by David Chisnall. llvm-svn: 74772 | |||||
| * | remove utility methods that are not very useful. | Zhongxing Xu | 2009-07-03 | 2 | -4/+1 | |
| | | | | | llvm-svn: 74762 | |||||
| * | add test case for r74407. | Zhongxing Xu | 2009-07-03 | 1 | -0/+7 | |
| | | | | | llvm-svn: 74761 | |||||
| * | Update checker build. | Ted Kremenek | 2009-07-03 | 1 | -1/+1 | |
| | | | | | llvm-svn: 74757 | |||||
| * | Add an intermediate typedef for __builtin_va_tag to make it a bit easier | Eli Friedman | 2009-07-03 | 1 | -1/+2 | |
| | | | | | | | | to deal with for AST pretty-printing/rewriting. Patch by Abramo Bagnara. llvm-svn: 74752 | |||||
| * | Remove unused method. | Ted Kremenek | 2009-07-03 | 1 | -3/+0 | |
| | | | | | llvm-svn: 74751 | |||||
| * | BasicStoreManager: Use SymbolManager::canSymbolicate() to determine if a ↵ | Ted Kremenek | 2009-07-03 | 1 | -1/+1 | |
| | | | | | | | variable can be symbolicated. llvm-svn: 74750 | |||||
| * | Fix a horrible CFG bug reported in <rdar://problem/7027684>. The wrong successor | Ted Kremenek | 2009-07-03 | 2 | -1/+13 | |
| | | | | | | | | block would get hooked up in some cases when processing empty compound statements. llvm-svn: 74743 | |||||
| * | Revert prev commit, we have much bigger problems because 2.3 is missing | Daniel Dunbar | 2009-07-02 | 1 | -1/+1 | |
| | | | | | | | the subprocess module. llvm-svn: 74738 | |||||
| * | Avoid @staticmethod to allow use with Python 2.3. | Daniel Dunbar | 2009-07-02 | 1 | -2/+3 | |
| | | | | | llvm-svn: 74737 | |||||
| * | Replace guarded calls in RegionStoreManager to | Ted Kremenek | 2009-07-02 | 2 | -23/+14 | |
| | | | | | | | | | | ValueManager::getRegionValueSymbolVal() with unguarded calls to ValueManager::getRegionValueSymbolValOrUnknown(). This changes centralizes the decision of what values to symbolicate in SymbolManager rather than having it scatter in RegionStoreManager. llvm-svn: 74730 | |||||
| * | Enhance RegionStore to lazily symbolicate fields and array elements for | Ted Kremenek | 2009-07-02 | 3 | -10/+26 | |
| | | | | | | | structures passed-by-value as function arguments. llvm-svn: 74729 | |||||
| * | Fix RUN line so this test doesn't hang. | Ted Kremenek | 2009-07-02 | 1 | -1/+1 | |
| | | | | | llvm-svn: 74719 | |||||
| * | Patch to allocate list of bases in CXXRecordDecl | Fariborz Jahanian | 2009-07-02 | 3 | -7/+14 | |
| | | | | | | | using ASTContxt allocation. llvm-svn: 74717 | |||||
| * | StoreManagers: Use 'hasGlobalsStorage()' and 'hasParametersStorage()' instead of | Ted Kremenek | 2009-07-02 | 4 | -7/+27 | |
| | | | | | | | | directly consulting if a VarDecl is an implicit or actual parameter, a global, etc. llvm-svn: 74716 | |||||

