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

2019-09-17 Thread Nikolai Kosjar
https://bugs.kde.org/show_bug.cgi?id=411859

Nikolai Kosjar  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |NOT A BUG

--- Comment #5 from Nikolai Kosjar  ---
Yup, it depends on the llvm/clang version I have built clazy against.

The relevant change is
https://github.com/llvm/llvm-project/commit/f2879d8a4877eafcdb12c852030746d175f8abbd
and it will be part of the upcoming 9.0 release.

Closing this report as there is nothing todo for clazy.

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

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

2019-09-17 Thread Nikolai Kosjar
https://bugs.kde.org/show_bug.cgi?id=411859

--- Comment #4 from Nikolai Kosjar  ---
Hmm, that this might be related to the LLVM version I build clazy against.
Checking...

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

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

2019-09-17 Thread Nikolai Kosjar
https://bugs.kde.org/show_bug.cgi?id=411859

--- Comment #3 from Nikolai Kosjar  ---
Sorry for not stating the used version earlier.

I can confirm your observation for clang-tidy 8.x. Apparently this was changed
in a later version. clang-tidy from master/trunk generates the output I've
mentioned.

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

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

2019-09-15 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=411859

--- Comment #1 from Sergio Martins  ---
I've just tested:

$ clang-tidy -export-fixes=a.yaml -checks=modernize-use-override a.cpp --
$ cat a.yaml
---
MainSourceFile:  '/data/sources/clazy/a.cpp'
Diagnostics: 
  - DiagnosticName:  modernize-use-override
Message: 'annotate this function with ''override'' or (rarely)
''final'''
FileOffset:  79
FilePath:'/data/sources/clazy/a.cpp'
Replacements:
  - FilePath:'/data/sources/clazy/a.cpp'
Offset:  84
Length:  0
ReplacementText: ' override'
...

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

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

2019-09-15 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=411859

--- Comment #2 from Sergio Martins  ---
clang-tidy 8.0.1

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