Comments (2)
Include a .clang-format
file in the same directory that you are running clang-format
or any parent directory. clang.llvm.org has more information about clang-format options.
Expected behavior for this repo for clang-format is to not add any options. Are you seeing different behavior between clang-format and the clang-format hook?
from pre-commit-hooks.
I am going to mark this as resolved. If you have general questions about how to use clang-format, use stack overflow. If you have any other questions on how to use this repo, please create another issue and provide more context.
from pre-commit-hooks.
Related Issues (20)
- Add ability to only lint/analyze committed lines
- Resolve Tooling and support multiple version of clang-tidy HOT 3
- file regex not read from the configuration file HOT 10
- clang-format stops working when using --version HOT 5
- oclint multiple execution and inability to see the output HOT 4
- Class ClangTidyCmd disregards its `args` parameter HOT 2
- Incorrect order of arguments for include-what-you-use?
- can I add few more arguments for clang-format and clang-tidy? HOT 2
- clang-tidy file exclude pattern ignored
- LLVM really includes clang-format and clang-tidy?
- clang format failed HOT 2
- include-what-you-use does not fail
- add_if_missing() does not allow multiple --suppress arguments HOT 2
- Configurable `uncrustify` executable path for the uncrustify hook HOT 2
- clang-tidy: for the -p option: may not occur within a group! HOT 1
- Use a clang-format file that isn't at the root of the repo
- Mistake in comment ? HOT 1
- file not found [clang-diagnostic-error] #include "lib1.h" ^~~~~~~~ HOT 2
- Example hook config for vala
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pre-commit-hooks.