We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f85fb9 commit 007ed0dCopy full SHA for 007ed0d
clang-tools-extra/test/clang-tidy/checkers/bugprone/unused-local-non-trivial-variable.cpp
@@ -1,6 +1,6 @@
1
// RUN: %check_clang_tidy -std=c++17-or-later %s bugprone-unused-local-non-trivial-variable %t -- \
2
// RUN: -config="{CheckOptions: {bugprone-unused-local-non-trivial-variable.IncludeTypes: '::async::Future;::async::Foo.*', bugprone-unused-local-non-trivial-variable.ExcludeTypes: '::async::FooBar'}}"
3
-
+// RUN: -- -fexceptions
4
5
namespace async {
6
template <typename T>
@@ -19,7 +19,7 @@ class Ptr {
19
20
template<typename T>
21
class Future {
22
-public:
+public:
23
T get() {
24
return Pending;
25
}
0 commit comments