mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
c501379056
When specifying the `namespace` argument in Bazel (`NAMESPACE` in CMake), the Clang tool used to put _all_ dependent types in that namespace. For a declaration of `namespace a::b { struct S {...};` and a `namespace` argument of `a::b`, this means that the header output was similar to ``` namespace a::b { namespace a::b { struct S { ... ``` This was never intended and also does not match the Python based header generator. The Clang tool now "merges" those same namespaces. This is correct, as it processes `namespace`d spellings with their full namespace path. PiperOrigin-RevId: 557393076 Change-Id: I1474dd30b6c4150d0ae3c1c48579f88060974980 |
||
---|---|---|
.. | ||
clang_generator | ||
filewrapper | ||
generator2 |