File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed
cpp/ql/test/library-tests/attributes/namespace Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ | file://:0:0:0:0 | MultiSquared | test.cpp:10:13:10:22 | deprecated |
2+ | file://:0:0:0:0 | MultiSquared | test.cpp:10:25:10:36 | maybe_unused |
3+ | file://:0:0:0:0 | MultiSquared | test.cpp:11:13:11:22 | deprecated |
4+ | file://:0:0:0:0 | MultiSquared | test.cpp:11:25:11:36 | maybe_unused |
5+ | file://:0:0:0:0 | NamespaceTest | test.cpp:1:26:1:35 | deprecated |
6+ | file://:0:0:0:0 | NamespaceTest | test.cpp:2:26:2:35 | deprecated |
7+ | file://:0:0:0:0 | NamespaceTest | test.cpp:3:26:3:37 | maybe_unused |
8+ | test.cpp:4:53:4:61 | MultiAttr | test.cpp:4:26:4:35 | deprecated |
9+ | test.cpp:4:53:4:61 | MultiAttr | test.cpp:4:38:4:49 | maybe_unused |
10+ | test.cpp:6:43:6:56 | OuterNamespace::InnerNamespace | test.cpp:6:30:6:39 | deprecated |
11+ | test.cpp:9:46:9:61 | NamespaceSquared | test.cpp:9:13:9:22 | deprecated |
Original file line number Diff line number Diff line change 1+ import cpp
2+
3+ from Namespace ns
4+ select ns , ns .getAnAttribute ( )
Original file line number Diff line number Diff line change 1+ namespace __attribute__ ( (deprecated)) NamespaceTest {}
2+ namespace __attribute__ ( (deprecated)) NamespaceTest {}
3+ namespace __attribute__ ( (maybe_unused)) NamespaceTest {}
4+ namespace __attribute__ ( (deprecated, maybe_unused)) MultiAttr {}
5+ namespace OuterNamespace {
6+ namespace __attribute__ ( (deprecated)) InnerNamespace {}
7+ }
8+
9+ namespace [ [deprecated(" NamespaceSquared" )]] NamespaceSquared {}
10+ namespace [ [deprecated, maybe_unused]] MultiSquared {}
11+ namespace [ [deprecated, maybe_unused]] MultiSquared {}
You can’t perform that action at this time.
0 commit comments