[clang] c278e8f - Build fix: AttributeCommonInfo::AS_C2x

John Brawn via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 25 07:53:44 PDT 2020


Thanks, I was about to fix that myself (I was sure I'd built and tested everything before committing,
but it appears I failed somehow).

John

________________________________
From: cfe-commits <cfe-commits-bounces at lists.llvm.org> on behalf of Hans Wennborg via cfe-commits <cfe-commits at lists.llvm.org>
Sent: 25 March 2020 14:43
To: cfe-commits at lists.llvm.org <cfe-commits at lists.llvm.org>
Subject: [clang] c278e8f - Build fix: AttributeCommonInfo::AS_C2x


Author: Hans Wennborg
Date: 2020-03-25T15:42:21+01:00
New Revision: c278e8f8f916fd8781f24e41a8685514cc448670

URL: https://github.com/llvm/llvm-project/commit/c278e8f8f916fd8781f24e41a8685514cc448670
DIFF: https://github.com/llvm/llvm-project/commit/c278e8f8f916fd8781f24e41a8685514cc448670.diff

LOG: Build fix: AttributeCommonInfo::AS_C2x

Added:


Modified:
    clang/lib/Basic/Attributes.cpp

Removed:



################################################################################
diff  --git a/clang/lib/Basic/Attributes.cpp b/clang/lib/Basic/Attributes.cpp
index d479b39e149e..ff6dbf870fcf 100644
--- a/clang/lib/Basic/Attributes.cpp
+++ b/clang/lib/Basic/Attributes.cpp
@@ -88,7 +88,7 @@ static SmallString<64> normalizeName(const IdentifierInfo *Name,
   SmallString<64> FullName = ScopeName;
   if (!ScopeName.empty()) {
     assert(SyntaxUsed == AttributeCommonInfo::AS_CXX11 ||
-           SyntaxUsed == AttributeCommonInfo::AS_C2X);
+           SyntaxUsed == AttributeCommonInfo::AS_C2x);
     FullName += "::";
   }
   FullName += AttrName;



_______________________________________________
cfe-commits mailing list
cfe-commits at lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200325/66cdd15b/attachment-0001.html>


More information about the cfe-commits mailing list