Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-107074

linguist fails to build with LLVM 15

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 6.4.1, 6.5.0 FF
    • 6.4.0
    • Tools: Linguist
    • None
    • All
    • 6495329e6de803025e6e4e8291b648f94893551c 01cae372619369d1a5a04f4d0f87817011029b78

       

      the InclusionDirective method signature changes with llvm>=15

      https://github.com/llvm/llvm-project/commit/d79ad2f1dbc2db63121620f55d6cfa915f2733ac

      so the compiler yields an override error from qttools/src/linguist/lupdate/lupdatepreprocessoraction.h:

       

      void InclusionDirective(clang::SourceLocation /*hashLoc*/, const clang::Token &/*includeTok*/, 
      
                                  clang::StringRef /*fileName*/, bool /*isAngled*/, 
                                  clang::CharSourceRange /*filenameRange*/, const clang::FileEntry *file, 
                                  clang::StringRef /*searchPath*/, clang::StringRef /*relativePath*/, 
                                  const clang::Module */*imported*/, 
                                  clang::SrcMgr::CharacteristicKind /*fileType*/)
      override;
      

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kkohne Kai Köhne
            jschueller Julien Schueller
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes