summaryrefslogtreecommitdiff
path: root/tests/headers/allowlist-namespaces.hpp
diff options
context:
space:
mode:
authorMarcel Hlopko <hlopko@google.com>2021-02-11 08:58:46 +0100
committerEmilio Cobos Álvarez <emilio@crisal.io>2021-02-18 17:25:13 +0100
commit0e25962c4e69aef647e7275fa7bc7545dbb8cd0b (patch)
treef51e49624d79a707069bbfdeb0f15b78219cec94 /tests/headers/allowlist-namespaces.hpp
parente59aa9218b0e862cbaed319582bf0b692dfacde2 (diff)
Rename whitelist -> allowlist and blacklist -> blocklist
For the commandline arguments I added undocumented aliases to old flags, to stay backwards compatible.
Diffstat (limited to 'tests/headers/allowlist-namespaces.hpp')
-rw-r--r--tests/headers/allowlist-namespaces.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/headers/allowlist-namespaces.hpp b/tests/headers/allowlist-namespaces.hpp
new file mode 100644
index 00000000..2cffe9d3
--- /dev/null
+++ b/tests/headers/allowlist-namespaces.hpp
@@ -0,0 +1,10 @@
+// bindgen-flags: --enable-cxx-namespaces --allowlist-type '.*'
+
+namespace outer {
+ namespace inner {
+ struct Helper {};
+ }
+ struct Test {
+ inner::Helper helper;
+ };
+}