Benjamin Kramer
|
00bd44d567
Move various diagnostic operator<< overloads out of line and remove includes of Diagnostic.h.
|
13 роки тому |
Benjamin Kramer
|
c35fb7d67d
StaticAnalyzer: Move ObjC- and CXX-specific methods out of line so checkers that don't care about the language don't have to pull in all the headers.
|
13 роки тому |
Ted Kremenek
|
8bef823818
Change references to 'const ProgramState *' to typedef 'ProgramStateRef'.
|
13 роки тому |
Ted Kremenek
|
5eca482fe8
[analyzer] Make the entries in 'Environment' context-sensitive by making entries map from
|
13 роки тому |
David Blaikie
|
99ba9e3bd7
Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch
|
13 роки тому |
Benjamin Kramer
|
b8989f27f1
Change operator<< for raw_ostream and NamedDecl to take a reference instead of a pointer.
|
14 роки тому |
Richard Smith
|
a6b8b2c096
Constant expression evaluation refactoring:
|
14 роки тому |
David Blaikie
|
ef3643fbbb
Rename PathDiagnosticClient to PathDiagnosticConsumer as per issue 5397
|
14 роки тому |
David Blaikie
|
d6471f7c19
Rename Diagnostic to DiagnosticsEngine as per issue 5397
|
14 роки тому |
David Blaikie
|
eb2d1f1c88
Removing a bunch of dead returns/breaks after llvm_unreachables.
|
14 роки тому |
David Blaikie
|
b219cfc4d7
Switch assert(0/false) llvm_unreachable.
|
14 роки тому |
Anna Zaks
|
590dd8e095
[analyzer] Refactor PathDiagnosticLocation: Make PathDiagnosticLocation(SourceLocation...) private. Most of the effort here goes to making BugReport refer to a PathDiagnosticLocation instead of FullSourceLocation.
|
14 роки тому |
Anna Zaks
|
23803374d8
[analyzer] Remove LocationContext and a dependency from PathDiagnosticLoaction.
|
14 роки тому |
Anna Zaks
|
1531bb0c69
[analyzer] Use more create methods in the PathDiagnostic, cleanup.
|
14 роки тому |
Anna Zaks
|
4522e2a9e7
[analyzer] BugReport has a profile method, so reuse it here.
|
14 роки тому |
Anna Zaks
|
0cd59482ab
[analyzer] Refactor: make PathDiagnosticLocation responsible for validation of SourceLocations (commit 5 of ?):
|
14 роки тому |
Anna Zaks
|
220ac8c175
[analyzer] Refactor: make PathDiagnosticLocation responsible for validation of SourceLocations (commit 2 of ?):
|
14 роки тому |
Anna Zaks
|
1492426795
[analyzer] Allow checker writes to specify that no region should be accosiated with the report. (Useful when we report an error on endOfPath or deadSymbols, when the range of the last expression might have nothing to do with the error.)
|
14 роки тому |
Anna Zaks
|
7f2531cb41
Static Analyzer Diagnostics: Allow checkers to add ExtraDescriptiveText, now renamed into ExtraText, to the diagnostic without subclassing BugReport.
|
14 роки тому |
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 роки тому |