Remove constexpr that MSVC doesn't like
This commit is contained in:
1 parent
e5bf5037d8
commit
347e31c052
2 files changed
+3
-3
No files matched your search
@@ -67,8 +67,8 @@ struct ParsedAttrInfo {
|
||||
};
|
||||
ArrayRef<Spelling> Spellings;
|
||||
|
||||
constexpr ParsedAttrInfo(AttributeCommonInfo::Kind AttrKind =
|
||||
AttributeCommonInfo::NoSemaHandlerAttribute)
|
||||
ParsedAttrInfo(AttributeCommonInfo::Kind AttrKind =
|
||||
AttributeCommonInfo::NoSemaHandlerAttribute)
|
||||
: AttrKind(AttrKind), NumArgs(0), OptArgs(0), HasCustomParsing(0),
|
||||
IsTargetSpecific(0), IsType(0), IsStmt(0), IsKnownToGCC(0),
|
||||
IsSupportedByPragmaAttribute(0) {}
|
||||
|
||||
@@ -3739,7 +3739,7 @@ void EmitClangAttrParsedAttrImpl(RecordKeeper &Records, raw_ostream &OS) {
|
||||
}
|
||||
OS << "struct ParsedAttrInfo" << I->first
|
||||
<< " final : public ParsedAttrInfo {\n";
|
||||
OS << " constexpr ParsedAttrInfo" << I->first << "() {\n";
|
||||
OS << " ParsedAttrInfo" << I->first << "() {\n";
|
||||
OS << " AttrKind = ParsedAttr::AT_" << AttrName << ";\n";
|
||||
emitArgInfo(Attr, OS);
|
||||
OS << " HasCustomParsing = ";
|
||||
|
||||
Reference in new issue
Block a user