| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
us to measure the effect of this optimization.
llvm-svn: 61319
|
| |
|
|
| |
llvm-svn: 60732
|
| |
|
|
|
|
|
|
|
|
| |
- Creator function pointers are saved in ManagerRegistry.
- The Register* class is used to notify ManagerRegistry new module is
available.
- AnalysisManager queries ManagerRegistry for configurable module. Then it
passes them to GRExprEngine, in turn to GRStateManager.
llvm-svn: 60143
|
| |
|
|
| |
llvm-svn: 59983
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
a new NamedDecl::getAsString() method.
Change uses of Selector::getName() to just pass in a Selector
where possible (e.g. to diagnostics) instead of going through
an std::string.
This also adds new formatters for objcinstance and objcclass
as described in the dox.
llvm-svn: 59933
|
| |
|
|
|
|
| |
intermixing of 'ANALYZE' and the other diagnostics the clang driver emits to standard error.
llvm-svn: 59730
|
| |
|
|
|
|
|
|
| |
the Backend output should be done in binary mode.
- I'd appreciate it if someone who has a Windows build could verify
this.
llvm-svn: 59221
|
| |
|
|
| |
llvm-svn: 58831
|
| |
|
|
| |
llvm-svn: 58766
|
| |
|
|
|
|
| |
Fix Plist output.
llvm-svn: 58652
|
| |
|
|
| |
llvm-svn: 58646
|
| |
|
|
| |
llvm-svn: 58420
|
| |
|
|
| |
llvm-svn: 58056
|
| |
|
|
|
|
| |
end of the retain/release analysis.
llvm-svn: 56312
|
| |
|
|
|
|
|
|
| |
"Method accepting NSError** argument should have non-void return value to indicate that an error occurred."
Test case written, but the header needs to be delta-debugged reduced. Will commit shortly.
llvm-svn: 56297
|
| |
|
|
| |
llvm-svn: 55750
|
| |
|
|
| |
llvm-svn: 55525
|
| |
|
|
| |
llvm-svn: 55488
|
| |
|
|
| |
llvm-svn: 55463
|
| |
|
|
|
|
| |
Cleanup ubigraph files when don't drawing the graphs.
llvm-svn: 55459
|
| |
|
|
| |
llvm-svn: 55446
|
| |
|
|
|
|
| |
quality).
llvm-svn: 55442
|
| |
|
|
| |
llvm-svn: 55274
|
| |
|
|
|
|
| |
when in -fobjc-gc-only mode.
llvm-svn: 54319
|
| |
|
|
| |
llvm-svn: 53942
|
| |
|
|
|
|
| |
GRExprEngineInternalChecks.cpp.
llvm-svn: 53909
|
| |
|
|
|
|
| |
declarations (bodies) or Objective-C @implementation blocks.
llvm-svn: 53584
|
| |
|
|
|
|
|
|
|
|
|
|
| |
clang.cpp now #include these definitions to create the command line options, and
AnalysisConsumer #includes this file to generate the switch statement to create
actions.
Renamed -check-objc-methodsigs to -warn-objc-methodsigs.
The "missing -dealloc" check is now optional: -warn-objc-missing-dealloc
llvm-svn: 53575
|
| |
|
|
|
|
|
|
|
| |
ObjCImplementationDecls and sees if a ancestor class defines a method with the
same selector but with a different type signature. Right now it just compares
return types, and mainly looks at differences in primitive values. The checking
will be expanded in the future.
llvm-svn: 53482
|
| |
|
|
|
|
| |
the code is compiled with GC.
llvm-svn: 53098
|
| |
|
|
|
|
|
|
| |
instead of references, because they can both fail
on functions we cannot construct full CFGs for yet.
llvm-svn: 53081
|
| |
|
|
|
|
| |
-dealloc, and whether or not that implementation calls [super dealloc].
llvm-svn: 53075
|
| |
|
|
|
|
| |
BugReporter interface.
llvm-svn: 53054
|
| |
|
|
|
|
|
|
| |
ASTContext&, PathDiagnosticClient*, can be provided by an external source.
Split BugReporter into BugReporter and GRBugReporter so checkers not based on GRExprEngine can still use the BugReporter mechanism.
llvm-svn: 53048
|
| |
|
|
|
|
|
|
| |
creator.
This allows an optimization in AnalysisConsumer where the same LiveVariables information is used between multiple analyses.
llvm-svn: 53046
|
| |
|
|
|
|
|
|
| |
LiveVariables object.
Modified the DeadStores logic in AnalysisConsumer.cpp to use the LiveVariables object created by the AnalysisManager.
llvm-svn: 53043
|
| |
|
|
|
|
| |
Renamed -dump-cfg to -cfg-dump, and -view-cfg to -cfg-view. This naming better matches the same options for asts (e.g. -ast-dump).
llvm-svn: 53041
|
| |
|
|
| |
llvm-svn: 53039
|
| |
|
|
|
|
| |
Remove CheckerConsumer.
llvm-svn: 53029
|
| |
|
|
| |
llvm-svn: 53028
|
| |
|
|
|
|
| |
new AnalysisConsumer interface.
llvm-svn: 53002
|
|
|
analyses. This potentially is the primordial origins of a Clang-equivalent
"PassManager".
The new AnalysisConsumer interface allows multiple analyses to be run from a
single invocation of Clang.
Migrated the logic of "-warn-dead-stores" and "-warn-uninit-values" to use the
new AnalysisConsumer interface. The new interface results in a significant code
reduction to incorporate an analysis into the Driver.
Updated a test case to (correctly) acknowledge that it contains a dead store
(this check wasn't being performed because it was previously masked by
-warn-uninit-values).
llvm-svn: 52996
|