| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Added support for detected bad dereferences involving MemberExprs, e.g. x->f ↵ | Ted Kremenek | 2008-04-21 | 1 | -77/+123 |
| | | | | | | | where "x" is NULL. llvm-svn: 50071 | ||||
| * | More semantics checks of properties. Property implementation can implicitly use | Fariborz Jahanian | 2008-04-21 | 1 | -5/+4 |
| | | | | | | | | ivar of same name. Better diagnostics to bring home this point. llvm-svn: 50065 | ||||
| * | Support for @dynamic AST build. | Fariborz Jahanian | 2008-04-21 | 2 | -8/+24 |
| | | | | | | | | More property semantics checking. First test case for ObjC2's property implementation. llvm-svn: 50057 | ||||
| * | Fix pasto, thanks to Anders for pointing this out. | Chris Lattner | 2008-04-21 | 1 | -1/+1 |
| | | | | | llvm-svn: 50055 | ||||
| * | Continuation of work on ObjC2's properties. | Fariborz Jahanian | 2008-04-21 | 2 | -36/+70 |
| | | | | | | | | | Added iterators, methods to find property and categories. Use them in doing semantic analysis on property implementation declarations. Fixed typos. llvm-svn: 50050 | ||||
| * | add arm support | Chris Lattner | 2008-04-21 | 1 | -0/+132 |
| | | | | | llvm-svn: 50049 | ||||
| * | Clean up handling of function redeclarations | Douglas Gregor | 2008-04-21 | 3 | -10/+104 |
| | | | | | llvm-svn: 50021 | ||||
| * | Fix improper dereference of end() iterator. Patch by Argiris Kirtzidis! | Ted Kremenek | 2008-04-20 | 1 | -2/+5 |
| | | | | | llvm-svn: 50012 | ||||
| * | Fix PR2236 | Nate Begeman | 2008-04-20 | 2 | -8/+19 |
| | | | | | | | | Add test Implement feedback from Chris re: PR1998 llvm-svn: 50001 | ||||
| * | Two improvements to initializer parsing: | Chris Lattner | 2008-04-20 | 1 | -5/+19 |
| | | | | | | | | | 1. If we hit a semantic error, try harder to recover to emit diagnostics for later initializer errors (PR2241). 2. Don't leak parsed initializers on an error. llvm-svn: 49998 | ||||
| * | for exponent-related errors, emit the diagnostic on the 'e' or 'p'. | Chris Lattner | 2008-04-20 | 1 | -4/+7 |
| | | | | | llvm-svn: 49997 | ||||
| * | when emitting diagnostics about some character in a numeric | Chris Lattner | 2008-04-20 | 1 | -20/+26 |
| | | | | | | | | | | | | literal, indicate what character the error is about or where it would be. For example: pr2241.c:1:17: error: exponent has no digits float f[] = { 1e , 1ee0 }; ^ llvm-svn: 49996 | ||||
| * | Only generate code for static functions and global variables that are ↵ | Nate Begeman | 2008-04-20 | 2 | -5/+72 |
| | | | | | | | | | | actually used. Warn about unused static functions and variables. This fixes PR1998. llvm-svn: 49987 | ||||
| * | Restructure and simplify Sema::ObjCQualifiedIdTypesAreCompatible, | Chris Lattner | 2008-04-20 | 1 | -65/+64 |
| | | | | | | | | | | | deleting dead code, making other code more obvious, and fixing a bug. This fixes these (bogus) warnings in release mode: SemaExprObjC.cpp:383: warning: 'RHSProtoE' may be used uninitialized in this function SemaExprObjC.cpp:383: warning: 'RHSProtoI' may be used uninitialized in this function llvm-svn: 49984 | ||||
| * | implement a fixme, add support for ++/-- on long double. | Chris Lattner | 2008-04-20 | 1 | -5/+6 |
| | | | | | llvm-svn: 49980 | ||||
| * | use simplified ConstantFP:get method. | Chris Lattner | 2008-04-20 | 2 | -6/+4 |
| | | | | | llvm-svn: 49979 | ||||
| * | replace form feeds with an <hr> tag. | Chris Lattner | 2008-04-19 | 1 | -1/+5 |
| | | | | | llvm-svn: 49975 | ||||
| * | simplify ownership of the predefines buffer. | Chris Lattner | 2008-04-19 | 1 | -5/+1 |
| | | | | | llvm-svn: 49973 | ||||
| * | Gracefully handle when the receiver of a message expression is not a pointer ↵ | Ted Kremenek | 2008-04-19 | 1 | -1/+5 |
| | | | | | | | type. llvm-svn: 49959 | ||||
| * | Generate code for annotation attributes. | Nate Begeman | 2008-04-19 | 3 | -8/+70 |
| | | | | | llvm-svn: 49951 | ||||
| * | Add support to module codegen for adding and emitting annotations | Nate Begeman | 2008-04-18 | 2 | -0/+20 |
| | | | | | llvm-svn: 49944 | ||||
| * | Ignore qualifiers when attempting to match arguments to parameter types for | Nate Begeman | 2008-04-18 | 1 | -3/+6 |
| | | | | | | | __builtin_overload llvm-svn: 49943 | ||||
| * | OCUVector -> ExtVector, shorthand for extended vector, per feedback from Chris. | Nate Begeman | 2008-04-18 | 13 | -113/+116 |
| | | | | | llvm-svn: 49942 | ||||
| * | Another bug fix in emitting warnings without a path: construct a unit ↵ | Ted Kremenek | 2008-04-18 | 1 | -17/+25 |
| | | | | | | | | | PathDiagnostic as we did before. This allows the HTMLDiagnostic object to retrieve the bug type, bug description, etc. llvm-svn: 49939 | ||||
| * | fix __attribute__(format) for struct function pointer fields | Nuno Lopes | 2008-04-18 | 1 | -3/+7 |
| | | | | | llvm-svn: 49938 | ||||
| * | Reenable using the PathDiagnosticClient for BugReports without paths. | Ted Kremenek | 2008-04-18 | 1 | -2/+5 |
| | | | | | llvm-svn: 49934 | ||||
| * | Generalize caching mechanism for bugs reports. Now individual BugTypes | Ted Kremenek | 2008-04-18 | 5 | -23/+23 |
| | | | | | | | | | can decide the policy on how to cache related bugs. This allows us to properly to handle warning about multiple leaks in the same location in the ref count checker (not yet done). llvm-svn: 49918 | ||||
| * | Fixed more caching bugs related to the one fixed in r49914. Silence | Ted Kremenek | 2008-04-18 | 2 | -14/+27 |
| | | | | | | | compiler warning introduced by a recent patch of mine. llvm-svn: 49917 | ||||
| * | Fixed elusive caching bug that led to false positives. | Ted Kremenek | 2008-04-18 | 1 | -1/+2 |
| | | | | | llvm-svn: 49914 | ||||
| * | Added "GetErrorNodes()" to BugType so that -trim-egraph can recognize errors | Ted Kremenek | 2008-04-18 | 2 | -9/+68 |
| | | | | | | | | | from registered BugTypes. This helps with debugging. Add detection of NULL values in ref count checker; this suppresses false positives. llvm-svn: 49912 | ||||
| * | Added "EvalAssume" virtual method to GRTransferFuncs; this is for evaluating | Ted Kremenek | 2008-04-18 | 1 | -7/+20 |
| | | | | | | | the checker-specific logic of symbolic assumptions. llvm-svn: 49910 | ||||
| * | Tabs -> spaces | Nate Begeman | 2008-04-18 | 1 | -2/+2 |
| | | | | | llvm-svn: 49909 | ||||
| * | Fixed bug in GREndPathNodeBuilder: only return a node if it wasn't in the ↵ | Ted Kremenek | 2008-04-18 | 2 | -1/+6 |
| | | | | | | | node cache. llvm-svn: 49907 | ||||
| * | Initialize default double width and alignment | Nate Begeman | 2008-04-18 | 1 | -0/+2 |
| | | | | | llvm-svn: 49899 | ||||
| * | Allow targets to override double size, alignment, and semantics, and tie this | Nate Begeman | 2008-04-18 | 1 | -1/+3 |
| | | | | | | | | information into the IR type codegen. This allows a target to codegen the C 'double' type as either double or float. llvm-svn: 49898 | ||||
| * | Provide a version of html::HighlightMacros that takes a Preprocessor&. | Ted Kremenek | 2008-04-18 | 1 | -16/+17 |
| | | | | | llvm-svn: 49896 | ||||
| * | More grammar fixes. | Ted Kremenek | 2008-04-18 | 1 | -2/+8 |
| | | | | | llvm-svn: 49895 | ||||
| * | Fix plurality debacle. | Ted Kremenek | 2008-04-18 | 1 | -1/+1 |
| | | | | | llvm-svn: 49894 | ||||
| * | Added path diagnostics for reference counts. | Ted Kremenek | 2008-04-18 | 1 | -9/+101 |
| | | | | | llvm-svn: 49892 | ||||
| * | Make tab insertion really right: the number of spaces inserted | Chris Lattner | 2008-04-18 | 1 | -7/+17 |
| | | | | | | | depends on the column number of the start of the tab. llvm-svn: 49891 | ||||
| * | BugReport::VisitNode now takes BugReporter& instead of ASTContext&. | Ted Kremenek | 2008-04-18 | 2 | -101/+157 |
| | | | | | | | | | Shuffled around code in CFRefCount to better pair classes with implementation, and started adding subclasses of RangedBugReport to handle better diagnostics for reference count bugs. llvm-svn: 49889 | ||||
| * | Use HTML5 doctype when generating HTML. | Ted Kremenek | 2008-04-18 | 1 | -3/+2 |
| | | | | | llvm-svn: 49888 | ||||
| * | Added null check. | Ted Kremenek | 2008-04-18 | 1 | -0/+3 |
| | | | | | llvm-svn: 49887 | ||||
| * | Updated CSS colors. Patch by Cedric Venet! | Ted Kremenek | 2008-04-18 | 1 | -5/+5 |
| | | | | | llvm-svn: 49886 | ||||
| * | Simplified internal logic of BugReporter, consolidating EmitWarning and | Ted Kremenek | 2008-04-18 | 4 | -50/+48 |
| | | | | | | | | | EmitPathWarning into one method. We now properly handle emitting warnings without a PathDiagnosticClient when the warning does not involve a particular statement. llvm-svn: 49884 | ||||
| * | Fixed a bug in categories and properties. | Fariborz Jahanian | 2008-04-18 | 1 | -1/+1 |
| | | | | | llvm-svn: 49883 | ||||
| * | Initial work for property implementation declarations. | Fariborz Jahanian | 2008-04-18 | 3 | -4/+126 |
| | | | | | | | | Mostly semantic checking in this patch. This is on going and incomplete. llvm-svn: 49882 | ||||
| * | Modified BugReport::getEndPath() to handle the case where end path is at | Ted Kremenek | 2008-04-17 | 1 | -15/+43 |
| | | | | | | | the exit block of the CFG. llvm-svn: 49880 | ||||
| * | Hook up reporting reference count memory leaks to the BugReporter mechanism. | Ted Kremenek | 2008-04-17 | 1 | -0/+31 |
| | | | | | llvm-svn: 49879 | ||||
| * | Fix a problem noticed by Nuno, where we wouldn't escape characters in | Chris Lattner | 2008-04-17 | 1 | -2/+3 |
| | | | | | | | macro expansions. llvm-svn: 49877 | ||||

