- Feb 15, 2011
-
-
Fariborz Jahanian authored
Warn if class for a deprecated class is implemented. Warn if category for a deprecated class is implemented. All under control of -Wdeprecated-implementations. // rdar://8973810. llvm-svn: 125545
-
Chris Lattner authored
llvm-svn: 125538
-
Ted Kremenek authored
llvm-svn: 125535
-
John McCall authored
PR9221. llvm-svn: 125532
-
- Feb 14, 2011
-
-
John McCall authored
llvm-svn: 125517
-
Oscar Fuentes authored
for all compiler invocations. llvm-svn: 125514
-
Argyrios Kyrtzidis authored
llvm-svn: 125512
-
Argyrios Kyrtzidis authored
llvm-svn: 125507
-
John McCall authored
PR8626. llvm-svn: 125506
-
Chris Lattner authored
builders unhappy. llvm-svn: 125505
-
Argyrios Kyrtzidis authored
-Checkers will be defined in the tablegen file 'Checkers.td'. -Apart from checkers, we can define checker "packages" that will contain a collection of checkers. -Checkers can be enabled with -analyzer-checker=<name> and disabled with -analyzer-disable-checker=<name> e.g: Enable checkers from 'cocoa' and 'corefoundation' packages except the self-initialization checker: -analyzer-checker=cocoa -analyzer-checker=corefoundation -analyzer-disable-checker=cocoa.SelfInit -Introduces CheckerManager and CheckerProvider. CheckerProviders get the set of checker names to enable/disable and register them with the CheckerManager which will be the entry point for all checker-related functionality. Currently only the self-initialization checker takes advantage of the new mechanism. llvm-svn: 125503
-
Argyrios Kyrtzidis authored
[analyzer] Remove ManagerRegistry which is not used. In the future we may load analyzer plugins dynamically but registration through static constructors should be avoided. llvm-svn: 125502
-
Argyrios Kyrtzidis authored
[analyzer] Move include/clang/StaticAnalyzer/AnalysisConsumer.h -> lib/StaticAnalyzer/Frontend/AnalysisConsumer.h since FrontendActions.cpp is the only user. llvm-svn: 125501
-
Argyrios Kyrtzidis authored
llvm-svn: 125500
-
Argyrios Kyrtzidis authored
[analyzer] Introduce libclangStaticAnalyzerFrontend and move Checkers/AnalysisConsumer.cpp into Frontend lib. llvm-svn: 125499
-
Ted Kremenek authored
llvm-svn: 125497
-
Ted Kremenek authored
Fix edge case where we don't cull warnings in IdempotentOperationsChecker due to incomplete analysis of loops. llvm-svn: 125495
-
Ted Kremenek authored
Use 'BitVector' instead of SmallPtrSet<CFGBlock*> in IdempotentOperationsChecker. No real functionality change. llvm-svn: 125494
-
Jeffrey Yasskin authored
headers in C++0x mode. Fixes PR9138. Patch by John Bytheway! llvm-svn: 125492
-
Ted Kremenek authored
llvm-svn: 125491
-
Chris Lattner authored
llvm-svn: 125488
-
John McCall authored
access-control diagnostics which arise from the portion of the declarator following the scope specifier, just in case access is granted by friending the individual method. This can also happen with in-line member function declarations of class templates due to templated-scope friend declarations. We were really playing fast-and-loose before with this sort of thing, and it turned out to work because *most* friend functions are in file scope. Making us delay regardless of context exposed several bugs with how we were manipulating delay. I ended up needing a concept of a context that's independent of the declarations in which it appears, and then I actually had to make some things save contexts correctly, but delay should be much cleaner now. I also encapsulated all the delayed-diagnostics machinery in a single subobject of Sema; this is a pattern we might want to consider rolling out to other components of Sema. llvm-svn: 125485
-
Chris Lattner authored
llvm-svn: 125484
-
Peter Collingbourne authored
llvm-svn: 125478
-
Peter Collingbourne authored
FP_CONTRACT pragmas. Patch originally by ARM. llvm-svn: 125475
-
Peter Collingbourne authored
llvm-svn: 125474
-
Peter Collingbourne authored
llvm-svn: 125473
-
- Feb 13, 2011
-
-
Fariborz Jahanian authored
llvm-svn: 125468
-
Fariborz Jahanian authored
implementation of co/contra-variance objc++ block pointers. // rdar://8979379. llvm-svn: 125467
-
John McCall authored
Stmt::const_child_range, then make a bunch of places use them instead of the individual iterator accessors. llvm-svn: 125450
-
John McCall authored
destruction in the destructor-aliases logic. Fixes PR 9197. llvm-svn: 125447
-
- Feb 12, 2011
-
-
Fariborz Jahanian authored
types which are contravariance in argument types and covariance in return types. // rdar://8979379. llvm-svn: 125445
-
Ted Kremenek authored
llvm-svn: 125443
-
Argyrios Kyrtzidis authored
Temporarily set the first (canonical) declaration as the previous one, which is the one that matters, and mark the real previous DeclID to be loaded & attached later on. Fixes rdar://8956193. llvm-svn: 125434
-
Ted Kremenek authored
llvm-svn: 125432
-
Ted Kremenek authored
Weaken the ObjCSelfInitChecker to only warn when one calls an 'init' method within an 'init' method. This is a temporary stop gap to avoid false positives while we investigate how to make it smarter. llvm-svn: 125427
-
-
Ted Kremenek authored
static analyzer: Also invalidate instance variables of a receiver in a message expression, just as we do with parameters. Fixes <rdar://problem/8725041>. llvm-svn: 125422
-
Ted Kremenek authored
Don't emit a dead store for '++' operations unless it occurs with a return statement. We've never seen any other cases that were real bugs. Fixes <rdar://problem/6962292>. llvm-svn: 125419
-
Jeffrey Yasskin authored
I also sorted the tools/driver dependencies since their order no longer matters. llvm-svn: 125417
-