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
51c3bfce
Commit
51c3bfce
authored
3 years ago
by
Virgile Prevosto
Browse files
Options
Downloads
Patches
Plain Diff
[options] -cxx-parseable-output implies no unmangling
parent
c6d8f3af
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
frama_Clang_option.ml
+10
-5
10 additions, 5 deletions
frama_Clang_option.ml
tests/basic/printer.cpp
+1
-1
1 addition, 1 deletion
tests/basic/printer.cpp
with
11 additions
and
6 deletions
frama_Clang_option.ml
+
10
−
5
View file @
51c3bfce
...
...
@@ -142,11 +142,16 @@ module ParseableOutput =
let
option_name
=
"-cxx-parseable-output"
let
help
=
"set up Frama-C pretty-printer to output C code that can be reparsed by Frama-C"
end
)
let
()
=
ParseableOutput
.
add_set_hook
(
fun
_
f
->
let
k
=
Kernel
.
dkey_print_attrs
in
if
f
then
Kernel
.
add_debug_keys
k
else
Kernel
.
del_debug_keys
k
)
let
parseable_output_hook
_
f
=
let
k
=
Kernel
.
dkey_print_attrs
in
if
f
then
begin
Kernel
.
add_debug_keys
k
;
Unmangling
.
set
"none"
end
else
Kernel
.
del_debug_keys
k
let
()
=
ParseableOutput
.
add_set_hook
parseable_output_hook
module
C_std_headers
=
String
(
...
...
This diff is collapsed.
Click to expand it.
tests/basic/printer.cpp
+
1
−
1
View file @
51c3bfce
/* run.config
NOFRAMAC:
EXECNOW: LOG printer.res.c @frama-c@ @PTEST_FILE@ @CXX@ @MACHDEP@
-cxx-unmangling none
-cxx-parseable-output -ocode @PTEST_RESULT@/printer.res.c -print
EXECNOW: LOG printer.res.c @frama-c@ @PTEST_FILE@ @CXX@ @MACHDEP@ -cxx-parseable-output -ocode @PTEST_RESULT@/printer.res.c -print
EXECNOW: LOG printer.res2.c @frama-c@ @CXX@ @MACHDEP@ -cxx-unmangling without-qualifier @PTEST_RESULT@/printer.res.c -ocode @PTEST_RESULT@/printer.res2.c -print
*/
...
...
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