File tree Expand file tree Collapse file tree 4 files changed +5
-13
lines changed Expand file tree Collapse file tree 4 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 1+ * @ raghav-deepsource @ srijan-deepsource @ swarnim-deepsource @ prajwal-deepsource
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ ARG LLVM_VER=15
1414RUN wget --no-verbose https://apt.llvm.org/llvm.sh
1515RUN chmod +x ./llvm.sh \
1616 && ./llvm.sh ${LLVM_VER} \
17- && apt-get -y install libclang-15 -dev libclang-cpp15 -dev --no-install-recommends \
17+ && apt-get -y install libclang-${LLVM_VER} -dev libclang-cpp${LLVM_VER} -dev --no-install-recommends \
1818 && apt-get clean \
1919 && rm -rf /var/lib/apt/lists/*
2020
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ impl AnalyzerConfig {
1313 pub fn cxx_files ( self ) -> Vec < PathBuf > {
1414 self . files
1515 . into_iter ( )
16+ . filter ( |f| !f. is_symlink ( ) )
1617 . filter ( |f| f. is_file ( ) )
1718 . filter ( |f| {
1819 f. extension ( )
19- . map ( |x| x. eq ( "cpp" ) | x. eq ( "c" ) | x . eq ( "h" ) | x . eq ( "hpp" ) )
20+ . map ( |x| x. eq ( "cpp" ) | x. eq ( "c" ) )
2021 . unwrap_or_default ( )
2122 } )
22- . filter ( |f| !f. is_symlink ( ) )
2323 // ignore files > ~25MB in size
2424 . filter ( |f| {
2525 !f. metadata ( )
@@ -34,4 +34,5 @@ impl AnalyzerConfig {
3434pub struct AnalyzerMeta {
3535 pub name : String ,
3636 pub enabled : bool ,
37+ // todo(swarnim): add misra_compliance: bool
3738}
You can’t perform that action at this time.
0 commit comments