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

Investiate improving moc's pp logic

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • Build tools: moc
    • None

    Description

      moc's preprocessor logic mostly works, but there are still some issues. One finding from QTBUG-124288 is that Preprocessor::tokenize doesn't actually split on white-space, which looks rather wrong – most of the time, that's not an issue, because we just skip over the tokens, but in certain instances, it can cause issues (e.g. when using token pasting).

      Another part requiring improvements would be better handling of what's allowed in string and number literals (as in, the prefixes and suffixes).

      Attachments

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

        Activity

          People

            fabiankosmale Fabian Kosmale
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes