Jordy Rose
|
7df1234c2e
[analyzer] Replace calls to getNameAsString() with StringRef equivalents.
|
14 年之前 |
Anna Zaks
|
23f395ee1b
Static Analyzer Diagnostics: Move the responsibility for generating the endOfPath diagnostic piece from BugReport to BugReporterVisitor. Switch CFRefCount to use visitors in order to generate the endOfPath piece.
|
14 年之前 |
Anna Zaks
|
dc757b0497
Static Analyzer Diagnostics: Switch CFRefCount to using the new visitor API. BugReport no longer needs to inherit from BugReporterVisitor.
|
14 年之前 |
Anna Zaks
|
50bbc165b0
Static Analyzer Diagnostics: Kill the addVisitorCreator(callbackTy, void*) API in favor of addVisitor(BugReporterVisitor*).
|
14 年之前 |
Anna Zaks
|
3b030a28cd
Fix a memory leak in the analyzer - BugReports didn't get freed. Plus, remove invalid assert from the destructor which wasn't called previously due to the leak.
|
14 年之前 |
Anna Zaks
|
8e6431adab
Static Analyzer Diagnostics: Move custom diagnostic visitors from BugReporterContext to BugReport.
|
14 年之前 |
Anna Zaks
|
b7530a4ca9
Remove DiagBugReport by pulling it into its parent BugReport.
|
14 年之前 |
Anna Zaks
|
e172e8b9e7
Remove EnhancedBugReport and RangedBugReport - pull all the extra functionality they provided into their parent BugReport. The only functional changes are: made getRanges() non const - it adds default range to Ranges if none are supplied, made getStmt() private, which was another FIXME.
|
14 年之前 |
Ted Kremenek
|
18c66fdc3c
Rename GRState to ProgramState, and cleanup some code formatting along the way.
|
14 年之前 |
Ted Kremenek
|
9c378f7054
Cleanup various declarations of 'Stmt*' to be 'Stmt *', etc. in libAnalyzer and libStaticAnalyzer[*]. It was highly inconsistent, and very ugly to look at.
|
14 年之前 |
Ted Kremenek
|
993124ecdd
[analyzer] Start sketching out a new BugReporterVisitor that inspects branches and other expressions to generate interesting path events in diagnostics.
|
14 年之前 |
Anna Zaks
|
eb3058a114
Static Analyzer diagnostics visualization: when the last location on a path is end of the function, the arrow should point to the closing brace, not the statement before it. Patch by Ted Kremenek.
|
14 年之前 |
Chandler Carruth
|
642116259e
Rename getInstantiationLineNumber to getExpansionLineNumber in both
|
14 年之前 |
Chandler Carruth
|
a77c031cb6
Rename getInstantiationColumnNumber to getExpansionColumnNumber in both
|
14 年之前 |
Chandler Carruth
|
402785357a
Mechanically rename SourceManager::getInstantiationLoc and
|
14 年之前 |
Chris Lattner
|
5f9e272e63
remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports
|
14 年之前 |
Chris Lattner
|
fc8f0e14ad
fix a bunch of comment typos found by codespell. Patch by
|
14 年之前 |
Peter Collingbourne
|
f111d93572
C1X: implement generic selections
|
14 年之前 |
Ted Kremenek
|
3c0349e87c
In preparation for fixing PR 6884, rework CFGElement to have getAs<> return pointers instead of fresh CFGElements.
|
14 年之前 |
Argyrios Kyrtzidis
|
404fc3ad6b
[analyzer] Refactor BugTypes and their ownership model.
|
14 年之前 |
John McCall
|
56ca35d396
Change the representation of GNU ?: expressions to use a different expression
|
14 年之前 |
Zhanyong Wan
|
7dfc9420ba
Makes most methods in SVals.h conform to the naming guide. Reviewed
|
14 年之前 |
Ted Kremenek
|
9b66371644
Split 'include/clang/StaticAnalyzer' into 'include/clang/StaticAnalyzer/Core' and 'include/clang/StaticAnalyzer/Checkers'.
|
14 年之前 |
Argyrios Kyrtzidis
|
811d75ee35
[analyzer] Move the files in lib/StaticAnalyzer to lib/StaticAnalyzer/Core.
|
14 年之前 |