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@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to