Skip to content

A program that will clang-format -i all files in the selected directory, file extension filtering is also possible

Notifications You must be signed in to change notification settings

zarbi1/clang-it

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Clang-It

If you want to throw your computer out of the window because clang format formatted the wrong files. This program is for you !

Regex Support

Clang-It supports regex that will be used to determine if a file should be clang formatted. To search for files matching the regex, clang-it uses find (1) .

Usage

./clang-it.sh <source-dir> [regex]

Examples

./clang-it.sh foo "*.c"

./clang-it.sh foo

./clang-it.sh foo "ba?.c"

About

A program that will clang-format -i all files in the selected directory, file extension filtering is also possible

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages