Details
Details
Diff Detail
Diff Detail
Event Timeline
clang/lib/AST/JSONNodeDumper.cpp | ||
---|---|---|
541–548 | I think we should probably skip emitting the field if the field is empty. e.g., [[deprecated("")]] and [[deprecated]] should have the same output that doesn't have a message field; this keeps the JSON dumps somewhat more succinct for those cases. WDYT? |
I think we should probably skip emitting the field if the field is empty. e.g., [[deprecated("")]] and [[deprecated]] should have the same output that doesn't have a message field; this keeps the JSON dumps somewhat more succinct for those cases. WDYT?