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

Rule S5812: Concise syntax should be used for concatenatable namespaces

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.10
    • Component/s: C++, Rules
    • Labels:
      None

      Description

      For example in our codebase

      namespace sonarsource {
      namespace analyzer {
      
      void something();
      
      }
      }
      

      should be replaced on

      namespace sonarsource::analyzer {
      
      void something();
      
      }
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: