File tree Expand file tree Collapse file tree 3 files changed +15
-10
lines changed
Expand file tree Collapse file tree 3 files changed +15
-10
lines changed Original file line number Diff line number Diff line change 1010jobs :
1111 build :
1212
13- runs-on : ubuntu-22 .04
13+ runs-on : ubuntu-24 .04
1414
1515 steps :
1616 - name : Install C++ Dependencies
1717 run : sudo apt install -y clang llvm-dev libclang-dev
1818 - name : Install Python Dependencies
1919 run : pip install --user codecov
20- - uses : actions/checkout@v2
20+ - uses : actions/checkout@v4
2121 - name : make
2222 run : make force_cover_coverage
2323 - name : Run tests
2424 run : ./testing/tests.sh
2525 - name : Generate coverage
2626 run : llvm-profdata merge default.profraw -o default.profdata && llvm-cov show ./force_cover -instr-profile=default.profdata > coverage.txt
27- - uses : codecov/codecov-action@v1
27+ - uses : codecov/codecov-action@v5
28+ env :
29+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ CXXFLAGS := -O0 -g -std=c++20
6565PLUGIN_CXXFLAGS := -fpic
6666
6767LLVM_CXXFLAGS := ` $( LLVM_CONFIG) --cxxflags`
68- LLVM_LDFLAGS := ` $( LLVM_CONFIG) --ldflags --libs --system-libs`
68+ LLVM_LDFLAGS := ` $( LLVM_CONFIG) --ldflags --libs --system-libs `
6969
7070# These are required when compiling vs. a source distribution of Clang. For
7171# binary distributions llvm-config --cxxflags gives the right path.
@@ -99,9 +99,12 @@ CLANG_LIBS := \
9999 -lclangStaticAnalyzerCheckers \
100100 -lclangStaticAnalyzerCore \
101101 -lclangSerialization \
102+ -lclangSupport \
102103 -lclangToolingCore \
103104 -lclangTooling \
104105 -lclangFormat \
106+ -lclangToolingSyntax \
107+ -lclangAPINotes \
105108 -Wl,--end-group
106109
107110
Original file line number Diff line number Diff line change 99// ------------------------------------------------------------------------------
1010#include < string>
1111
12- #include " clang/AST/AST.h"
13- #include " clang/AST/ASTConsumer.h"
12+ // #include "clang/AST/AST.h"
13+ // #include "clang/AST/ASTConsumer.h"
1414#include " clang/ASTMatchers/ASTMatchFinder.h"
15- #include " clang/ASTMatchers/ASTMatchers.h"
15+ // #include "clang/ASTMatchers/ASTMatchers.h"
1616#include " clang/Frontend/CompilerInstance.h"
17- #include " clang/Frontend/FrontendActions.h"
17+ // #include "clang/Frontend/FrontendActions.h"
1818#include " clang/Rewrite/Core/Rewriter.h"
1919#include " clang/Tooling/CommonOptionsParser.h"
2020#include " clang/Tooling/Tooling.h"
21- #include " llvm/Support/raw_ostream.h"
22- #include " clang/AST/Decl.h"
21+ // #include "llvm/Support/raw_ostream.h"
22+ // #include "clang/AST/Decl.h"
2323
2424#include < iostream>
2525#include < set>
You can’t perform that action at this time.
0 commit comments