Skip to content

Commit

Permalink
add libclang funcdef to json tool
Browse files Browse the repository at this point in the history
  • Loading branch information
ailrst committed Sep 25, 2023
1 parent 50c80a6 commit 4ab457c
Show file tree
Hide file tree
Showing 9 changed files with 39,039 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/libclang-type-info/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.cache
8 changes: 8 additions & 0 deletions scripts/libclang-type-info/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@


bin/main: source/main.cpp
g++ -g source/main.cpp -std=c++20 -lclang -I lib -o bin/main

.PHONY=clean
clean:
rm bin/*
18 changes: 18 additions & 0 deletions scripts/libclang-type-info/compile_commands.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[
{
"arguments": [
"/usr/bin/g++",
"-c",
"-g",
"-std=c++20",
"-I",
"lib",
"-o",
"bin/main",
"source/main.cpp"
],
"directory": "/home/alistair/Documents/programming/2023/bil-to-boogie-translator/scripts/libclang-type-info",
"file": "/home/alistair/Documents/programming/2023/bil-to-boogie-translator/scripts/libclang-type-info/source/main.cpp",
"output": "/home/alistair/Documents/programming/2023/bil-to-boogie-translator/scripts/libclang-type-info/bin/main"
}
]
Loading

0 comments on commit 4ab457c

Please sign in to comment.