- Aug 02, 2011
-
-
Anna Zaks authored
Add a skeleton for the Keychain Services API Checker. Register it as OSX experimental for now. Note, the checker still does not handle tracking of escaped values, taking into account the return value of the allocator functions, nor the actual bug reporting.. llvm-svn: 136659
-
- Jul 31, 2011
-
-
Benjamin Kramer authored
llvm-svn: 136581
-
- Jul 29, 2011
-
-
Ted Kremenek authored
[analyzer] Remove recursive visitation in ExprEngine::VisitDeclStmt because it isn't needed anymore. llvm-svn: 136522
-
Ted Kremenek authored
[analyzer] Remove recursive visitation in ExprEngine::VisitCompoundLiteralExpr because it isn't needed anymore. llvm-svn: 136521
-
Ted Kremenek authored
[analyzer] Remove recursive visitation in ExprEngine::VisitCastExpr because it isn't needed anymore. llvm-svn: 136520
-
Ted Kremenek authored
[analyzer] Remove recursive visitation in ExprEngine::VisitObjCForCollectionStmt because it isn't needed anymore. llvm-svn: 136519
-
Ted Kremenek authored
[analyzer] Remove explicit argument processing from ExprEngine::VisitObjCMessage() since it is no longer needed. llvm-svn: 136518
-
Ted Kremenek authored
[analyzer] Remove recursive visitation in ExprEngine::VisitLValObjCIvarRefExpr because it isn't needed anymore. llvm-svn: 136517
-
Ted Kremenek authored
llvm-svn: 136516
-
Ted Kremenek authored
[analyzer] Remove recursive visitation in ExprEngine::VisitObjCPropertyRefExpr because it isn't needed anymore. llvm-svn: 136515
-
Ted Kremenek authored
[analyzer] Remove recursive visitation in ExprEngine::VisitCallExpr because it isn't needed anymore. llvm-svn: 136514
-
Ted Kremenek authored
[analyzer] Remove recursive visitation in ExprEngine::VisitMemberExpr because it isn't needed anymore. llvm-svn: 136513
-
Ted Kremenek authored
[analyzer] Remove recursive visitation in ExprEngine::VisitLvalArraySubscriptExpr() because it is no longer needed. llvm-svn: 136512
-
Chandler Carruth authored
llvm-svn: 136434
-
Ted Kremenek authored
Really remove FlatStoreManager and BasicStoreManager, this time from the driver. Also remove associated tests. Sorry for the messy commits; this is the result of a botched Git merge. llvm-svn: 136422
-
Ted Kremenek authored
Remove FlatStoreManager and BasicStoreManager. The latter has long been obsolete and the former has no had development in a long time. llvm-svn: 136420
-
Ted Kremenek authored
[analyzer] Overhaul how the static analyzer expects CFGs by forcing CFGs to be linearized only when used by the static analyzer. This required a rewrite of LiveVariables, and exposed a ton of subtle bugs. The motivation of this large change is to drastically simplify the logic in ExprEngine going forward. Some fallout is that the output of some BugReporterVisitors is not as accurate as before; those will need to be fixed over time. There is also some possible performance regression as RemoveDeadBindings will be called frequently; this can also be improved over time. llvm-svn: 136419
-
Ted Kremenek authored
[analyzer] fix bug in malloc checker where the tracked symbol would not properly be removed from the state. llvm-svn: 136418
-
Ted Kremenek authored
[analyzer] Add StoreManager::includedInBindings() to to query whether a region is used in any bindings. llvm-svn: 136416
-
Ted Kremenek authored
llvm-svn: 136415
-
Ted Kremenek authored
llvm-svn: 136414
-
Ted Kremenek authored
llvm-svn: 136413
-
Ted Kremenek authored
the proper expression. llvm-svn: 136412
-
- Jul 25, 2011
-
-
Chandler Carruth authored
SourceManager and FullSourceLoc. llvm-svn: 135969
-
Chandler Carruth authored
SourceManager and FullSourceLoc. llvm-svn: 135965
-
Chandler Carruth authored
llvm-svn: 135962
-
Chandler Carruth authored
FullSourceLoc::getInstantiationLoc to ...::getExpansionLoc. This is part of the API and documentation update from 'instantiation' as the term for macros to 'expansion'. llvm-svn: 135914
-
- Jul 23, 2011
-
-
Chris Lattner authored
them into the clang namespace. llvm-svn: 135852
-
- Jul 22, 2011
-
-
John McCall authored
methods, including indirectly overridden methods like those declared in protocols and categories. There are mismatches that we would like to diagnose but aren't yet, but this is fine for now. I looked at approaches that avoided doing this lookup unless we needed it, but the infer-related-result-type checks were doing it anyway, so I left it with the same fast-path check for no previous declartions of that selector. llvm-svn: 135743
-
- Jul 21, 2011
-
-
Ted Kremenek authored
llvm-svn: 135667
-
Ted Kremenek authored
llvm-svn: 135666
-
- Jul 19, 2011
-
-
Jordy Rose authored
llvm-svn: 135518
-
Jordy Rose authored
pthread and XNU locks. Patch by Rui Paulo! llvm-svn: 135515
-
- Jul 16, 2011
-
-
Ted Kremenek authored
[analyzer] Place checking for Core Foundation "Create" rule into a proper API. No functionality change. llvm-svn: 135349
-
Jordy Rose authored
Add tests for CFRefReport's path notes, and fix a few typos and non-standard terminology ('+0 retain counts') caught by the tests. llvm-svn: 135310
-
- Jul 15, 2011
-
-
Jordy Rose authored
llvm-svn: 135294
-
Jordy Rose authored
Clean up UnixAPIChecker, including switching its array of BugTypes to llvm::OwningPtr<BugType> vars (the new convention). No functionality change. llvm-svn: 135255
-
Jordy Rose authored
Clean up MacOSXAPIChecker, including switching its array of BugTypes to a single llvm::OwningPtr<BugType> (the new convention). No functionality change. llvm-svn: 135250
-
John McCall authored
to represent a fully-substituted non-type template parameter. This should improve source fidelity, as well as being generically useful for diagnostics and such. llvm-svn: 135243
-
- Jul 07, 2011
-
-
John McCall authored
where we have an immediate need of a retained value. As an exception, don't do this when the call is made as the immediate operand of a __bridge retain. This is more in the way of a workaround than an actual guarantee, so it's acceptable to be brittle here. rdar://problem/9504800 llvm-svn: 134605
-