Uploaded image for project: 'SonarCFamily'
  1. SonarCFamily
  2. CPP-1438

Take into account attributes with leading and trailing underscores

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.11
    • Component/s: None
    • Labels:
      None

      Description

      Quoting https://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html#Attribute-Syntax :

      You may optionally specify attribute names with ‘__’ preceding and following the name. This allows you to use them in header files without being concerned about a possible macro of the same name. For example, you may use the attribute name __noreturn__ instead of noreturn.

        Attachments

          Activity

            People

            Assignee:
            massimo.paladin Massimo PALADIN
            Reporter:
            evgeny.mandrikov Evgeny Mandrikov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: