[clang] [Clang] Add __ugly__ spelling for the msvc attribute scope (PR #113765)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 28 11:10:00 PDT 2024


================
@@ -23,6 +23,30 @@ int hasAttribute(AttributeCommonInfo::Syntax Syntax,
                  const IdentifierInfo *Scope, const IdentifierInfo *Attr,
                  const TargetInfo &Target, const LangOptions &LangOpts);
 
+inline const char* deuglifyAttrScope(StringRef Scope) {
----------------
erichkeane wrote:

not a huge fan of `ugly` here as it isn't particularly descriptive, but mostly just on the name of it.

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


More information about the cfe-commits mailing list