Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pugs
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
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
code
pugs
Merge requests
!117
Fix std::shared_ptr demangled values with libc++ (llvm)
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Fix std::shared_ptr demangled values with libc++ (llvm)
fix/unit-tests-libc++
into
develop
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Fix std::shared_ptr demangled values with libc++ (llvm)
Stéphane Del Pino
requested to merge
fix/unit-tests-libc++
into
develop
Sep 15, 2021
Overview
0
Commits
1
Pipelines
0
Changes
1
0
0
Merge request reports
Viewing commit
2a99d0fb
Show latest version
1 file
+
12
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
2a99d0fb
Fix std::shared_ptr demangled values with libc++ (llvm)
· 2a99d0fb
Stéphane Del Pino
authored
Sep 15, 2021
tests/test_ASTNodeBinaryOperatorExpressionBuilder.cpp
+
12
−
5
View file @ 2a99d0fb
Edit in single-file editor
Open in Web IDE
Show full file
@@ -1494,15 +1494,18 @@ x!=y;
SECTION
(
"shift left (builtin)"
)
{
std
::
string_view
data
=
R"(
std
::
string_view
data
=
R"(
let m : builtin_t;
let n : builtin_t;
n << m;
)"
;
const
std
::
string
sptr_mangled
=
demangle
<
std
::
shared_ptr
<
double
const
>>
();
std
::
string_view
result
=
R"(
std
::
string
result
=
R"(
(root:ASTNodeListProcessor)
`-(language::shift_left_op:BinaryExpressionProcessor<language::shift_left_op, std::shared_ptr<double const>, std::shared_ptr<double const>, std::shared_ptr<double const> >)
`-(language::shift_left_op:BinaryExpressionProcessor<language::shift_left_op, )"
+
sptr_mangled
+
", "
+
sptr_mangled
+
", "
+
sptr_mangled
+
R"( >)
+-(language::name:n:NameProcessor)
`-(language::name:m:NameProcessor)
)"
;
@@ -1518,9 +1521,13 @@ let n : builtin_t;
n >> m;
)"
;
std
::
string_view
result
=
R"(
const
std
::
string
sptr_mangled
=
demangle
<
std
::
shared_ptr
<
double
const
>>
();
std
::
string
result
=
R"(
(root:ASTNodeListProcessor)
`-(language::shift_right_op:BinaryExpressionProcessor<language::shift_right_op, std::shared_ptr<double const>, std::shared_ptr<double const>, std::shared_ptr<double const> >)
`-(language::shift_right_op:BinaryExpressionProcessor<language::shift_right_op, )"
+
sptr_mangled
+
", "
+
sptr_mangled
+
", "
+
sptr_mangled
+
R"( >)
+-(language::name:n:NameProcessor)
`-(language::name:m:NameProcessor)
)"
;
Loading