Comments (5)
I pulled the night before posting my comment, my bad! The current version works great. Thanks again!
from fccf.
Thanks for the request. I've tried to add support for this now.
You can use the flag --ie
or --include-expressions
to get all the places where a variable or function was used.
Example 1: Usage of function
Look for all the places where the function isdigit
was called:
Example 2: Usage of variable
Hope this meets your needs.
from fccf.
This is exactly what I was looking for, thank you!
Sadly it's not quite working right in my test project. I am currently working on an HTTP server and if run fccf --ie debug src
in the repository root, I would expect to see usages of the slog::debug
(defined in src/log.hpp), but I don't see any, even though there a plenty of them (see e.g. src/main.cpp or src/ssl.cpp). I suspected it might be because it's a variadic template function, but that doesn't seem to be a problem in a minimal test.
from fccf.
What version of fccf
are you using? Is it the latest v0.5.0
?
This is my output:
2022-04-29.06-42-19.mp4
from fccf.
NOTE: Run with --verbose
flag to check if there are include errors reported by libclang
. I mention this here in the README.
If you see that certain headers cannot be found, you can use --include-dir
or -I
to provide additional include directories and resolve these errors.
2022-04-29.06-43-28.mp4
from fccf.
Related Issues (10)
- compile on Mac OS 12.2.1 have problem
- Autocomplete for zsh
- Assert triggered using --ie
- Search for member function calls of a specific class
- Compile on Ubuntu 18.04 has a problem HOT 1
- Compilation error in ArchLinux HOT 10
- Flag to turn off / customize colors HOT 3
- Building on WSL Ubuntu 20.04 - Could use compiler and clang-config detection. HOT 1
- Ability to skip forward class declarations. HOT 1
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 fccf.