[clang] Raise an error on namespace aliases with qualified names. (PR #86122)

Daniel M. Katz via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 21 08:46:08 PDT 2024


katzdm wrote:

@Sirraide Thanks for the quick review! I've applied your feedback. Here is an example error message with the patch applied:
```
test.cpp:4:20: error: namespace alias must be a single identifier
    4 |     namespace alias::extra::qualifiers = ::myns;
      |                    ^~~~~~~~~~~~~~~~~~~
1 error generated.
```

https://github.com/llvm/llvm-project/pull/86122


More information about the cfe-commits mailing list