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 in {