[clazy] [Bug 444964] New: clazy couldnt compile on llvm13 systems

Ömer Fadıl USTA bugzilla_noreply at kde.org
Thu Nov 4 17:21:29 GMT 2021


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

            Bug ID: 444964
           Summary: clazy couldnt compile on llvm13 systems
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: omerusta at gmail.com
                CC: smartins at kde.org
  Target Milestone: ---

contains_lower doesnt exist llvm13

With llvm they renamed StringRef's method names and removed old ones [1] and
[2]

https://invent.kde.org/sdk/clazy/-/blob/master/src/checks/manuallevel/unexpected-flag-enumerator-value.cpp#L67

cause build break on llvm13 systems.

contains_lower -> (probably to) contains_insensitive

It will be nice to add a control for which version of llvm is using while
compiling and use that version's code for contains_.... part

[1] : https://reviews.llvm.org/D104820

[2] :
https://github.com/llvm/llvm-project/commit/2e4a2b8430aca6f7aef8100a5ff81ca0328d03f9

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list