Jimmy (xiaoke) Shen
Jimmy (xiaoke) Shen

Aug 26, 2020

·
1 min read

Google Coding style in C++

Clang format

Download clang-format

On mac

brew install clang-format

How to use it to edit a file

clang-format -style=Google -i filename.h --verbose

The filename.h will be formatted as the Google coding style in place. -i mean in place.

Cpp
Google

--

--

More from Jimmy (xiaoke) Shen

Data Scientist/MLE/SWE @takemobi

Recommended from Medium

Yen Ming Tan

Yen Ming Tan

in

Microsoft Excel Analytics

Microsoft Excel Essentials — User-Interface and Cell Referencing

Pritam Debnath

Pritam Debnath

Factorial of a number: Breaking the scepticism

Steve Sohcot

Steve Sohcot

MS Access Slow Linking Between ODBC and Local Tables? Then Don’t Do It.

Andrey Costello

Andrey Costello

Hashmart Mobile App Enters MVP Stage

Madhur Tandon

Madhur Tandon

in

gsoc-2k19-with-mozilla

Hello from Python in the Browser!

ExaMesh

ExaMesh

Deploying Driverless AI in 60 Seconds

Ronica Gupta

Ronica Gupta

in

USF-Data Science

Practicum Spotlight

Aayush Kumar

Aayush Kumar

in

FinOps Talks

Strong Interdependency Between AI & DevOps

AboutHelpTermsPrivacy


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Get unlimited access
Jimmy (xiaoke) Shen

Jimmy (xiaoke) Shen

235 Followers

Data Scientist/MLE/SWE @takemobi

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech