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
14
14
RUN wget --no-verbose https://apt.llvm.org/llvm.sh
15
15
RUN chmod +x ./llvm.sh \
16
16
&& ./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 \
18
18
&& apt-get clean \
19
19
&& rm -rf /var/lib/apt/lists/*
20
20
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ impl AnalyzerConfig {
13
13
pub fn cxx_files ( self ) -> Vec < PathBuf > {
14
14
self . files
15
15
. into_iter ( )
16
+ . filter ( |f| !f. is_symlink ( ) )
16
17
. filter ( |f| f. is_file ( ) )
17
18
. filter ( |f| {
18
19
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" ) )
20
21
. unwrap_or_default ( )
21
22
} )
22
- . filter ( |f| !f. is_symlink ( ) )
23
23
// ignore files > ~25MB in size
24
24
. filter ( |f| {
25
25
!f. metadata ( )
@@ -34,4 +34,5 @@ impl AnalyzerConfig {
34
34
pub struct AnalyzerMeta {
35
35
pub name : String ,
36
36
pub enabled : bool ,
37
+ // todo(swarnim): add misra_compliance: bool
37
38
}
You can’t perform that action at this time.
0 commit comments