-
Notifications
You must be signed in to change notification settings - Fork 11
Plugin and tool #181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Plugin and tool #181
Changes from all commits
Commits
Show all changes
127 commits
Select commit
Hold shift + click to select a range
be63ae3
Adds deps package for llvm14
joaobispo ce33270
[ClangAstDumper] Updates LLVM library from 12 to 14
joaobispo 8cbef06
[deps] Updates LLVM libraries in llvm14 package
joaobispo 24d29ad
[ClangASTDumper] Fix breaking changes caused by llvm version bump
lm-sousa dfbdf9d
[ClangAstDumper] Fixes use of Expected in main.cpp
joaobispo 965f848
[ClangAstDumper] Updates method for generating enums
joaobispo bf3a881
[ClangAstDumper] Updates (auto-generated) enums
joaobispo 8aa5597
[ClangAstDumper] Adds support for attribute TypeVisibilityAttr
joaobispo fb1da66
[ClavaAst] Updates several enums
joaobispo 651d16c
[ClavaAst] Adds new nodes
joaobispo 4d41db1
[ClangAstParser] Moves tests that do not pass yet to their own package
joaobispo 6f68a1d
[ClangAstParser] Updates C++ test 'Decl'
joaobispo 3234867
[ClangAstDumper] Fixes dumping of attributes names
joaobispo 0a12a6e
[ClangAstParser] Update related to enums
joaobispo 23d1712
[ClavaAst] Experiment with attribute code generation
joaobispo fdece3e
[ClavaAst] Renames TypeVisibilityAttr
joaobispo 2043dd8
[ClavaAst] Removes TypeVisibilityAttr_
joaobispo d139c81
[ClangAstDumper] Removes references to TypeVisibilityAttr
joaobispo 4ba5e2f
[ClangAstParser] Updates web resources for Windows and Ubuntu for v14…
joaobispo 677af51
[ClangAstDumper] Specify clang version
lm-sousa 52117cb
[ClangAstParser] Fixes libcxx web resource for Linux
joaobispo 58c9bd6
[ClangAstParser] Fixes versions of libc and libcxx
joaobispo 2c2a717
[ClangAstParser] Updates builtins web resources
joaobispo 4885b5e
[deps] Updates clang instructions
joaobispo d8b11ce
[ClangAstParser] Adds omp.h to builtin includes
joaobispo c056a67
[ClavaWeaver] Update C++ test 'OmpThreadsExplore'
joaobispo 8bf52dc
[ClangAstParser] Updates dumper binary for Linux
joaobispo c52b58b
[ClangAstParser] Removes commented code
joaobispo 6daf77d
[ClangAstDumper] Downgrades C++ standard from 20 to 17
joaobispo e1c9bfb
Moved sources to dedicated folder
lm-sousa 302a39c
Modified Cmake to build a plugin
lm-sousa eff3232
Remove unused code
lm-sousa 5026ced
[ClavaAst] Changes some methods in DeclRefExpr to refer to Decl
joaobispo b43d36f
Using standard clang binary for compilation
joaobispo c7b9a88
Refactor CMakeLists.txt
lm-sousa 6788124
Refactor clang_enums code
lm-sousa 20e221a
Removed Clava as a dependency to build the ClangAstDumper
lm-sousa 7e197f7
Pipe through clang's stderr in case of error
lm-sousa d312d83
Added compatibility with clang-15
lm-sousa 0855121
Refactor the project structure
lm-sousa 660ed7b
Remove commented code from source files
lm-sousa 9600dae
Unify build system to auto-generate the enum file on compilation
lm-sousa fedf8bf
Remove unecessary Proxy class
lm-sousa 4a6e82c
Fix build process
lm-sousa 3ecc184
Implement preliminary Inter process communication to generate correct…
lm-sousa 7de5437
Include the IncludeDumper in the Plugin execution
lm-sousa 2d64f7d
Code cleanup
lm-sousa 65001bb
Remove old redundant file
lm-sousa 9543717
Update java settings files
lm-sousa bb273d7
Fix enum extractors for clang-12
lm-sousa 7c537b6
Add plugin support for DumpResources class and command-line arguments.
lm-sousa 31bdd97
Fix bugs in tests
lm-sousa 45f4e5d
Null check bug fix
lm-sousa 90cf58c
Refactor CxxWeaver.java: remove commented-out code
lm-sousa 35b6da2
Partially revert 43a13df13a
lm-sousa 37ec2eb
The most time consuming fix I ever had the displeasure of doing
lm-sousa 9efce41
Fix tests
lm-sousa 340399a
[ClangAstDumper] Update dumper plugin to be compatible with clang-16
lm-sousa 21cf278
Add resilience to plugin build system
lm-sousa 9cd5307
Update java preference files
lm-sousa 8e7d21f
Update plugin api tests
lm-sousa 8fc5fd9
Include plugin binaries for clang 14, 15 and 16
lm-sousa 754827c
Fix tests for clang-16 and ignore build files
lm-sousa 6b14bd4
Remove outdated test
lm-sousa f63ec86
Update clava-js interim test files
lm-sousa 751fd28
Remove Microsoft-specific code from test
lm-sousa 1f0bbb3
Update Java code to use new plugin-based clang-16 AST dumper on Linux…
lm-sousa 6f6f9e7
Remove old files
lm-sousa 7a6c344
Update ClangAstDumper to use build a plugin and a stand-alone tool fo…
lm-sousa d2b7fb4
Refactor loop code
lm-sousa f8b78a4
Remove global counter implementation
lm-sousa c3aff45
Tag method as override to avoid warning
lm-sousa 961b0c4
Target 'tool' is now compilable in Windows (MinGW)
joaobispo e1fc0be
Add linking configuration to plugin target
lm-sousa d4c4c57
Revert linking changes
lm-sousa f5387e7
Merge branch 'PluginAndTool' of https://github.com/specs-feup/clava i…
joaobispo 3c1eefa
Adds missing dependency in README.md
joaobispo 292c619
[ClangAstDumper] Adds package.json for generated files flow
joaobispo 0a498ff
Adds missing include that is required at linking time
joaobispo 3a2bc75
Merge branch 'staging' of github.com:specs-feup/clava into PluginAndTool
joaobispo 12aea8d
[ClangAstDumper] Plugin is only built when not on Windows
joaobispo 1d6e8b0
Merge branch 'staging' of github.com:specs-feup/clava into PluginAndTool
joaobispo f59108f
Merge branch 'PluginAndTool' of https://github.com/specs-feup/clava i…
joaobispo bd80bc6
[ClangAstDumper] Experiments with cross-compilation file for Windows
joaobispo 3d18fbb
[ClangAstDumper] Adds information to debug message
joaobispo 1400c70
Merge branch 'PluginAndTool' of github.com:specs-feup/clava into Plug…
joaobispo 6b01b9e
[ClangAstDumper] Changes CMake so that it works on Windows with pre-c…
joaobispo 89adb95
[ClangAstDumper] Updates instructions on how to build on Windows
joaobispo 983e207
[Clava-JS] Fixes bug in Windows version of lara.code.Timer
joaobispo a4d4bc7
[ClangAstParser] Updates resources for Clang 16
joaobispo 3a794e9
Updates output of two tests in Windows
joaobispo 609e763
Merge branch 'staging' of github.com:specs-feup/clava into PluginAndTool
joaobispo 973245e
Merge branch 'staging' of github.com:specs-feup/clava into PluginAndTool
joaobispo 2050abf
[ClangAstParser] Updates resources names
joaobispo 2cc66eb
[ClangAstParser] Removes tests that are not intended for testing, and…
joaobispo 14a0702
[ClangAstParser] Changing default target GPU architecture, from sm_30…
joaobispo 34f05d6
[ClangAstParser] Enables builtin libc_cxx only on Windows
joaobispo 4757b7a
[ClangAstParser] Adds flag --cuda-host-only
joaobispo ae7d079
[ClangAstParser] Forces download of OpenMP headers
joaobispo 8c9bdd2
[ClangAstParser] Even when LibC mode is System, now processes some in…
joaobispo 2060826
Makes sure OpenMP headers are present in testing environment
joaobispo f8eeeae
Executing apt-get as sudo
joaobispo ef046da
Enables debug mode
joaobispo 52d1618
Fixes yaml file
joaobispo 54aff9f
Adds debug file in right folders
joaobispo 6f6ee2d
Merge branch 'PluginAndTool' of github.com:specs-feup/clava into Plug…
joaobispo fce344e
[ClavaAst] Adds storageClass to VarDecl signature, to see if it is en…
joaobispo 1c11249
Disables debug output, is producing too much output
joaobispo 969c60d
[ClangAstDumper] Disables several LLVM libraries, to avoid conflicts …
joaobispo 0b4117b
[ClangAstParser] Changed Linux execution to tool mode instead of plugin
joaobispo 4a1f71d
Fixes yml errors
joaobispo bef4dd1
Temporarily disables some debug info, enables debug output
joaobispo 065a7dc
Enables debug output
joaobispo fae547b
[ClangAstParser] ClangFiles is now a record
joaobispo 90fb80f
[ClangAstParser] Prints information about ClangFiles being used
joaobispo bf02743
Disable debug in workflow
joaobispo 1492282
[ClangAstParser] Include libraries can now appear in linux systems
joaobispo 66b381d
[ClangAstParser] Fixes ClangFiles cache
joaobispo 9d92ee3
[ClangAstParser] Adds more information about dumper executable when t…
joaobispo 21f51a7
[ClangAstParser] Adds call to unblock downloaded windows executable
joaobispo b4cfe40
[ClangAstParser] Adds more information when dumper could not be execu…
joaobispo 4d6d772
[ClangAstParser] Adds missing DLLs for Windows
joaobispo 274de0d
[ClangAstParser] Fixes compilation error
joaobispo b69f763
[ClangAstParser] Shows dependencies of clang dumper when a problem ha…
joaobispo 13bf070
[ClangAstParser] Printing exit code when dumper fails
joaobispo b77a1b9
[ClangAstParser] Adds final missing DLLs for Windows
joaobispo 0e1e5d4
Re-enables tests and test matrix
joaobispo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,26 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <classpath> | ||
| <classpathentry kind="src" path="src-java"/> | ||
| <classpathentry kind="src" path="src-lara"/> | ||
| <classpathentry kind="src" path="src-js"/> | ||
| <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
| <classpathentry kind="src" output="bin/main" path="src-java"> | ||
| <attributes> | ||
| <attribute name="gradle_scope" value="main"/> | ||
| <attribute name="gradle_used_by_scope" value="main,test"/> | ||
| </attributes> | ||
| </classpathentry> | ||
| <classpathentry kind="src" output="bin/main" path="src-lara"> | ||
| <attributes> | ||
| <attribute name="gradle_scope" value="main"/> | ||
| <attribute name="gradle_used_by_scope" value="main,test"/> | ||
| </attributes> | ||
| </classpathentry> | ||
| <classpathentry kind="src" output="bin/main" path="src-js"> | ||
| <attributes> | ||
| <attribute name="gradle_scope" value="main"/> | ||
| <attribute name="gradle_used_by_scope" value="main,test"/> | ||
| </attributes> | ||
| </classpathentry> | ||
| <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/> | ||
| <classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/> | ||
| <classpathentry combineaccessrules="false" kind="src" path="/LaraUtils"/> | ||
| <classpathentry combineaccessrules="false" kind="src" path="/SpecsUtils"/> | ||
| <classpathentry kind="output" path="bin"/> | ||
| <classpathentry kind="output" path="bin/default"/> | ||
| </classpath> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| eclipse.preferences.version=1 | ||
| org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 | ||
| org.eclipse.jdt.core.compiler.compliance=17 | ||
| org.eclipse.jdt.core.compiler.source=17 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,15 @@ | ||
| .vscode | ||
| .cache | ||
| build | ||
| CMakeFiles/ | ||
| cmake_install.cmake | ||
| CMakeCache.txt | ||
| *Plugin.so | ||
| Makefile | ||
| .vscode | ||
| testSources | ||
| *.so | ||
| *.gch | ||
| *.o | ||
| *.a | ||
|
|
||
| src/ClangEnums/enums_* | ||
| java_enums/ |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.