Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Frama Clang
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stefan Gränitz
Frama Clang
Commits
2c6fbce2
Commit
2c6fbce2
authored
4 years ago
by
Allan Blanchard
Committed by
Virgile Prevosto
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Deactivate pedantic assigns warning in WP
parent
6c317c07
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+1
-0
1 addition, 0 deletions
Makefile
configure.ac
+1
-0
1 addition, 0 deletions
configure.ac
frama_Clang_register.ml
+4
-0
4 additions, 0 deletions
frama_Clang_register.ml
with
6 additions
and
0 deletions
Makefile
+
1
−
0
View file @
2c6fbce2
...
...
@@ -45,6 +45,7 @@ PLUGIN_GENERATED:= \
else
PLUGIN_GENERATED
:=
endif
PLUGIN_DEPENDENCIES
:=
wp
ifeq
("$(RUN_TESTS)","yes")
PLUGIN_TESTS_DIRS
:=
basic stl class val_analysis template specs exn pp ppwp bugs da
else
...
...
This diff is collapsed.
Click to expand it.
configure.ac
+
1
−
0
View file @
2c6fbce2
...
...
@@ -37,6 +37,7 @@ check_plugin([frama_clang],PLUGIN_RELATIVE_PATH(plugin_file),
[C++ front-end for Frama-C],yes)
plugin_require_external(frama_clang,camlp5o)
plugin_use(frama_clang,wp)
# check for system C++ compiler, as we can't rely on clang++ itself because
# of potential incompatibilities with GNU libstdc++ v5.
...
...
This diff is collapsed.
Click to expand it.
frama_Clang_register.ml
+
4
−
0
View file @
2c6fbce2
...
...
@@ -176,6 +176,10 @@ let parse_cxx file =
let
cxx_suffixes
=
[
".cpp"
;
".C"
;
".cxx"
;
".c++"
;
".cc"
;
".ii"
]
let
remove_wp_assigns_warning
()
=
Wp
.
Wp_parameters
.
set_warn_status
Wp
.
AssignsCompleteness
.
wkey_pedantic
Log
.
Winactive
let
()
=
remove_wp_assigns_warning
()
;
List
.
iter
(
fun
suf
->
File
.
new_file_type
suf
parse_cxx
)
cxx_suffixes
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment