Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Google C++ Style Guide
QtWS25 Last Chance

Google C++ Style Guide

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
clang-formatclang-tidy
2 Posts 2 Posters 1.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lisamueller
    wrote on last edited by
    #1

    Hello,

    can anyone tell me if ClangFormat and ClangTidy together check all coding guidelines of the Google C++ Style Guide?

    1 Reply Last reply
    0
    • david.skolandD Offline
      david.skolandD Offline
      david.skoland
      wrote on last edited by david.skoland
      #2

      I wouldn't know about Google's C++ style guide, but Qt certainly have their own guidelines for Qt itself: https://wiki.qt.io/Qt_Coding_Style

      There is a _clang-format file used by clang-format in the supermodule, which should be in line with the standard: https://github.com/qt/qt5/blob/dev/_clang-format

      You're completely free to choose your own style for your projects using Qt, though.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved