https://bugs.kde.org/show_bug.cgi?id=411859

            Bug ID: 411859
           Summary: YAML file genereated by -export-fixes does not contain
                    DiagnosticMessage node/entity
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-b...@kde.org
          Reporter: nikolai.kos...@qt.io
                CC: smart...@kde.org
  Target Milestone: ---

clazy generates e.g.:

---
MainSourceFile:  'FILE_PATH'
Diagnostics:
  - DiagnosticName:  clazy-qgetenv
    Message:         'qgetenv().isEmpty() allocates. Use
qEnvironmentVariableIsEmpty() instead'
    FileOffset:      150
    FilePath:        'FILE_PATH'
    Replacements:
      ...
...

while clang-tidy generates:

---
MainSourceFile:  'FILE_PATH'
Diagnostics:
  - DiagnosticName:  modernize-use-nullptr
    DiagnosticMessage:
      Message:         use nullptr
      FilePath:        'FILE_PATH'
      FileOffset:      150
      Replacements:
         ....
...

Note that clazy does not produce a "DiagnosticMessage" node/entity.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to