bolshakov-a updated this revision to Diff 504247. bolshakov-a added a comment.
Fix after rebase. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D140996/new/ https://reviews.llvm.org/D140996 Files: clang/include/clang/AST/PropertiesBase.td Index: clang/include/clang/AST/PropertiesBase.td =================================================================== --- clang/include/clang/AST/PropertiesBase.td +++ clang/include/clang/AST/PropertiesBase.td @@ -798,8 +798,11 @@ def : Property<"type", QualType> { let Read = [{ node.getUncommonValueType() }]; } + def : Property<"isDefaulted", Bool> { + let Read = [{ node.getIsDefaulted() }]; + } def : Creator<[{ - return TemplateArgument(ctx, type, value); + return TemplateArgument(ctx, type, value, isDefaulted); }]>; } let Class = PropertyTypeCase<TemplateArgument, "Template"> in {
Index: clang/include/clang/AST/PropertiesBase.td =================================================================== --- clang/include/clang/AST/PropertiesBase.td +++ clang/include/clang/AST/PropertiesBase.td @@ -798,8 +798,11 @@ def : Property<"type", QualType> { let Read = [{ node.getUncommonValueType() }]; } + def : Property<"isDefaulted", Bool> { + let Read = [{ node.getIsDefaulted() }]; + } def : Creator<[{ - return TemplateArgument(ctx, type, value); + return TemplateArgument(ctx, type, value, isDefaulted); }]>; } let Class = PropertyTypeCase<TemplateArgument, "Template"> in {
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits