Files
qt-creator/tests/unit/unittest/data/clangtools/clang-analyzer.dividezero.yaml
Nikolai Kosjar e6d16b6747 ClangTools: Support loading exported diagnostics
Add a new toolbar button to load diagnostics exported with

   $ clang-tidy -export-fixes=/path/to/file
   $ clazy-standalone -export-fixes=/path/to/file (master version)

Change-Id: I8316fe0706a18222e68220ef4fbfdc7ae8d09804
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-09-03 09:39:48 +00:00

24 lines
688 B
YAML

---
MainSourceFile: 'FILE_PATH'
Diagnostics:
- DiagnosticName: clang-analyzer-core.DivideZero
DiagnosticMessage:
Message: Division by zero
FilePath: 'FILE_PATH'
FileOffset: 180
Replacements: []
Notes:
- Message: 'Assuming ''z'' is equal to 0'
FilePath: 'FILE_PATH'
FileOffset: 158
Replacements: []
- Message: Taking true branch
FilePath: 'FILE_PATH'
FileOffset: 154
Replacements: []
- Message: Division by zero
FilePath: 'FILE_PATH'
FileOffset: 180
Replacements: []
...