diff options
author | Marcel Hlopko <hlopko@google.com> | 2021-02-11 08:58:46 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2021-02-18 17:25:13 +0100 |
commit | 0e25962c4e69aef647e7275fa7bc7545dbb8cd0b (patch) | |
tree | f51e49624d79a707069bbfdeb0f15b78219cec94 /tests/headers/allowlist-namespaces.hpp | |
parent | e59aa9218b0e862cbaed319582bf0b692dfacde2 (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.hpp | 10 |
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; + }; +} |