[clazy] [Bug 411859] New: YAML file genereated by -export-fixes does not contain DiagnosticMessage node/entity

Nikolai Kosjar bugzilla_noreply at kde.org
Thu Sep 12 15:16:02 BST 2019


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-bugs at kde.org
          Reporter: nikolai.kosjar at qt.io
                CC: smartins at 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 the assignee for the bug.


More information about the Unassigned-bugs mailing list