An open API service indexing awesome lists of open source software.

https://github.com/hriener/cpp-clean

Experimental scripts to clean up metadata in C++ code
https://github.com/hriener/cpp-clean

Last synced: 9 months ago
JSON representation

Experimental scripts to clean up metadata in C++ code

Awesome Lists containing this project

README

          

# c++clean
c++clean is a tiny experimental script to automate reappearing metadata formating tasks.

## Features
- Copyright information
- Author information from git history
- File name information

## Example

The script uses regular expressions to match and replaces metadata in C++ code.

```bash
% ./c++clean.py examples/ugly1.cpp
```

```c++
/* c++clean example
* Copyright (C) 2021 EPFL
*/

/*!
\file ugly1.cpp
\brief Some description

\author Heinz Riener
*/