clang-highlight's People
clang-highlight's Issues
Using FrontendActions with FuzzyParser
Hey!
First, thanks so much for all the great work you've done on the fuzzy parser. It's exactly what I need for my project. As I integrate it into my code, I hope that I'll be able to find places where I can contribute improvements/fixes.
Before going too far down one path, I was wondering if you could answer a quick question: Is it correct that there is no way to use the FuzzyAST with Clang FrontendActions (as it currently stands)?
I see a note in the LibFuzzy.rst that seemed like this was a future goal but I wanted to make sure it hadn't been implemented someplace where I missed it!
Again, thanks so much for all your work on this.
Will
Assistance with compilation, missing `FuzzyNodes.td`?
Hi 👋
Looking into the CMakeLists.txt
& Makefile
I understand that to build this, the root of this repo should be added as a
subfolder under llvm-project/clang/tools
, and added it to the CMakeLists.txt
inside tools
, right?
After some other small changes in the CMakeLists.txt
of clang-highlight
to make CMake happy, it complains that the file FuzzyNodes.td
is missing:
CMake Error at ..../llvm-project/llvm/cmake/modules/AddLLVM.cmake:454 (add_library):
Cannot find source file:
FuzzyNodes.td
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
Call Stack (most recent call first):
/home/michael_snyk_io/tmp/llvm-project/clang/cmake/modules/AddClang.cmake:103 (llvm_add_library)
/home/michael_snyk_io/tmp/llvm-project/clang/tools/clang-highlight/Fuzzy/CMakeLists.txt:7 (add_clang_library)
Seems this file is indeed missing, and if I try to remove the dependency on it from Fuzzy/CMakeLists.txt
it proceeds further but fails with compilation errors like:
llvm-project/clang/tools/clang-highlight/ClangHighlight.cpp:51:16: error: ‘clEnumValEnd’ was not declared in this scope; did you mean ‘clEnumValN’?
51 | clEnumValEnd),
| ^~~~~~~~~~~~
| clEnumValN
And I guess that's missing some definitions from the FuzzeNode.td
file?
Thanks 🙏
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.