Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-xt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
ag-ohlberger
dune-community
dune-xt
Commits
75a6f3fa
Commit
75a6f3fa
authored
5 years ago
by
Tobias Leibner
Browse files
Options
Downloads
Patches
Plain Diff
[common.debug] remove deprecated __CLASS__
parent
64e131b0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dune/xt/common/debug.hh
+0
-6
0 additions, 6 deletions
dune/xt/common/debug.hh
dune/xt/test/common/debug.cc
+0
-11
0 additions, 11 deletions
dune/xt/test/common/debug.cc
with
0 additions
and
17 deletions
dune/xt/common/debug.hh
+
0
−
6
View file @
75a6f3fa
...
@@ -39,12 +39,6 @@ inline char* charcopy(const char* s)
...
@@ -39,12 +39,6 @@ inline char* charcopy(const char* s)
}
// ... charcopy(...)
}
// ... charcopy(...)
DXT_DEPRECATED_MSG
(
"22.08.18"
)
inline
std
::
string
__depr_class
()
{
DUNE_THROW
(
Dune
::
NotImplemented
,
"use the DXT::Typename mechanism instead"
);
}
#define __CLASS__ __depr_class()
//! try to ensure var is not optimized out
//! try to ensure var is not optimized out
#define DXTC_DEBUG_AUTO(name) volatile auto DXTC_UNUSED(name)
#define DXTC_DEBUG_AUTO(name) volatile auto DXTC_UNUSED(name)
...
...
This diff is collapsed.
Click to expand it.
dune/xt/test/common/debug.cc
+
0
−
11
View file @
75a6f3fa
...
@@ -15,14 +15,6 @@
...
@@ -15,14 +15,6 @@
using
namespace
Dune
::
XT
::
Common
;
using
namespace
Dune
::
XT
::
Common
;
struct
Dummy
{
static
std
::
string
name
()
{
return
std
::
string
(
__CLASS__
);
}
};
GTEST_TEST
(
debug
,
main
)
GTEST_TEST
(
debug
,
main
)
{
{
#ifndef NDEBUG
#ifndef NDEBUG
...
@@ -30,7 +22,4 @@ GTEST_TEST(debug, main)
...
@@ -30,7 +22,4 @@ GTEST_TEST(debug, main)
#else
#else
EXPECT_NO_THROW
(
DXT_ASSERT
(
false
));
EXPECT_NO_THROW
(
DXT_ASSERT
(
false
));
#endif
#endif
EXPECT_THROW
(
Dummy
::
name
(),
Dune
::
NotImplemented
);
EXPECT_THROW
(
__CLASS__
,
Dune
::
NotImplemented
);
}
}
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