[clang] [clang] Ignore inline namespace for `hasName` (PR #109147)
Alejandro Álvarez Ayllón via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 11 05:42:11 PDT 2024
================
@@ -141,10 +143,11 @@ struct PrintingPolicy {
unsigned SuppressUnwrittenScope : 1;
/// Suppress printing parts of scope specifiers that correspond
- /// to inline namespaces, where the name is unambiguous with the specifier
+ /// to inline namespaces.
+ /// If Redudant, where the name is unambiguous with the specifier removed.
+ /// If All, even if the name is ambiguous with the specifier
/// removed.
- LLVM_PREFERRED_TYPE(bool)
- unsigned SuppressInlineNamespace : 1;
+ SuppressInlineNamespaceMode SuppressInlineNamespace : 2;
----------------
alejandro-alvarez-sonarsource wrote:
Applied by hand, since there was a typo (`PREFERRD` vs `PREFERRED`)
https://github.com/llvm/llvm-project/pull/109147
More information about the cfe-commits
mailing list