https://github.com/ledfan/functionnames
https://github.com/ledfan/functionnames
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ledfan/functionnames
- Owner: LEDfan
- Created: 2018-04-15T09:19:39.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-18T12:32:08.000Z (about 8 years ago)
- Last Synced: 2025-05-16T19:47:45.232Z (about 1 year ago)
- Language: C++
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Function Names
===
Tool to check if a C++ project is using function and method names which start with a capital.
Uses the [cppast](https://github.com/foonathan/cppast) library.
## Installation
```
git submodule update --init
```
### openSUSE
Install the [llvm5-devel](https://software.opensuse.org/package/llvm5-devel) and [clang5-devel](https://software.opensuse.org/package/clang5-devel?search_term=clang5-devel) packages.
### Ubuntu 16.04
- Add a ppa:
```
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
```
- Install packages and update alternatives:
```
sudo apt install llvm-5.0-dev libclang-5.0-dev clang-5.0
sudo update-alternatives --install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-5.0 100
```
### Build and install
Build like any cmake project:
```
mkdir build
cd build
cmake ..
make
sudo make install
```