- Sep 04, 2008
-
-
Daniel Dunbar authored
e.g. "(a = b).somefield". llvm-svn: 55758
-
Ted Kremenek authored
llvm-svn: 55757
-
Ted Kremenek authored
llvm-svn: 55752
-
Daniel Dunbar authored
llvm-svn: 55751
-
Ted Kremenek authored
llvm-svn: 55750
-
Ted Kremenek authored
- Capture the STDERR output of 'clang' to a file for use with crash reporting. llvm-svn: 55749
-
- Sep 03, 2008
-
-
Daniel Dunbar authored
- PR2730 llvm-svn: 55739
-
Ted Kremenek authored
specified, or -std is set to a conforming mode. llvm-svn: 55738
-
Daniel Dunbar authored
builtins). llvm-svn: 55736
-
Daniel Dunbar authored
- Currently CodeGen always returns a conservative value for this (-1 or 0 depending on the context). llvm-svn: 55735
-
Daniel Dunbar authored
llvm-svn: 55721
-
Steve Naroff authored
Highlights... - 4 new AST nodes, BlockExpr, BlockStmtExpr, BlockExprExpr, BlockDeclRefExpr. - Sema::ActOnBlockStart(), ActOnBlockError(), ActOnBlockStmtExpr(), ActOnBlockExprExpr(), ActOnBlockReturnStmt(). Next steps... - hack Sema::ActOnIdentifierExpr() to deal with block decl refs. - add attribute handler for byref decls. - add test cases. llvm-svn: 55710
-
Ted Kremenek authored
llvm-svn: 55707
-
Ted Kremenek authored
llvm-svn: 55706
-
Daniel Dunbar authored
- Allow any Objective-C object types to devolve to type id in a ?: expression. This matches gcc behavior more closely. llvm-svn: 55705
-
Ted Kremenek authored
- Change definition of store::Region and store::Binding (once again) to make them real classes that just wrap pointers. This makes them more strictly typed, and allows specific implementations of Regions/Bindings to just subclass them. - minor renamings to RegionExtent and its subclasses - added a bunch of doxygen comments StoreManager: (static analyzer) - added 'iterBindings', an iteration method for iterating over the bindings of a store. It that takes a callback object (acting like a poor man's closure). - added 'getRVal' version for store::Binding. Will potentially phase the other versions of GetRVal in StoreManager out. - reimplemented 'getBindings' to be non-virtual and to use 'iterBindings' BasicStoreManager: (static analyzer) - implemented 'iterBindings' for BasicStoreManager llvm-svn: 55688
-
Daniel Dunbar authored
- Now also searches for correct setter method. - There are still some issues regarding validation of the setter method and access of read-only properties. llvm-svn: 55686
-
Daniel Dunbar authored
uses which refer to methods not properties. - Not yet wired in Sema. llvm-svn: 55681
-
- Sep 02, 2008
-
-
Ted Kremenek authored
When creating CXXRecordDecls and RecordDecls within ActOnTag, hook up the new [CXX]RecordDecl with the RecordDecl chain. llvm-svn: 55652
-
Ted Kremenek authored
- Remove method 'isForwardDecl'; this functionality is already provided by 'isDefinition()' - Move method definitions to be co-located with other RecordDecl methods. llvm-svn: 55649
-
Ted Kremenek authored
- Don't serialize out the NextDeclarator field. It is unused and deprecated. - Serialize out the NextDecl pointer. llvm-svn: 55644
-
Ted Kremenek authored
- Added method 'isForwardDeclaration', a predicate method that returns true if a RecordDecl represents a forward declaration. - Added method 'getDefinitionDecl', a query method that returns a pointer to the RecordDecl that provides the actual definition of a struct/union. llvm-svn: 55642
-
Ted Kremenek authored
- Change constructor and create methods to accept a CXXRecordDecl* (RecordDecl*) instead of a ScopedDecl* for PrevDecl. This causes the type checking to be more tight and doesn't break any code. RecordDecl: - Don't use the NextDeclarator field in ScopedDecl to represent the previous declaration. This is a conflated use of the NextDeclarator field, which will be removed anyway when DeclGroups are fully implemented. - Instead, represent (a soon to be implemented) chain of RecordDecls using a NextDecl field. The last RecordDecl in the chain is always the 'defining' RecordDecl that owns the FieldDecls. The other RecordDecls in the chain are forward declarations. llvm-svn: 55640
-
Steve Naroff authored
- Replace FIXME in Preprocessor::HandleIdentifier() with a check that avoids diagnosing extension tokens that originate from macro definitions. llvm-svn: 55639
-
Steve Naroff authored
llvm-svn: 55637
-
Steve Naroff authored
llvm-svn: 55635
-
Nuno Lopes authored
llvm-svn: 55630
-
Nuno Lopes authored
llvm-svn: 55629
-
Eli Friedman authored
offset-of-like expressions. llvm-svn: 55627
-
Eli Friedman authored
Note that this isn't really a complete fix; I think there are other potential overrun situations. I don't really know what the best systematic fix is, though. llvm-svn: 55622
-
Eli Friedman authored
anywhere near correct in terms of missing cases and missing diagnostics, but it's good enough to handle the uses in the Linux system headers, which are currently a constant pain for compiling applications on Linux. llvm-svn: 55621
-
Eli Friedman authored
type-checking pointer subtraction; if the canonical types aren't used, the qualifiers won't always get stripped off correctly. llvm-svn: 55620
-
Zhongxing Xu authored
llvm-svn: 55619
-
Ted Kremenek authored
llvm-svn: 55618
-
Nuno Lopes authored
llvm-svn: 55615
-
Eli Friedman authored
I'll try to come up with a correct fix for the testcase sometime soon. llvm-svn: 55614
-
- Sep 01, 2008
-
-
Ted Kremenek authored
llvm-svn: 55613
-
Ted Kremenek authored
- warn about nonnull being applied to functions with no pointer arguments - continue processing argument list in the attribute when we encounter a non-pointer parameter being marked as nonnull - when no argument list is specified, only mark pointers as nonnull. This fixes PR 2732 and radar 6188814. llvm-svn: 55610
-
Nuno Lopes authored
llvm-svn: 55609
-
Nuno Lopes authored
llvm-svn: 55607
-